pub struct TrustedServiceProxy(/* private fields */);
Expand description
Provides expanded device node access to trusted clients.
Implementations§
Source§impl TrustedServiceProxy
impl TrustedServiceProxy
pub fn connect_to_loader(&self) -> Result<LoaderProxy, Error>
Sourcepub fn connect_to_loader_sync(&self) -> Result<LoaderSynchronousProxy, Error>
pub fn connect_to_loader_sync(&self) -> Result<LoaderSynchronousProxy, Error>
Like connect_to_loader
, but returns a sync proxy.
See Self::connect_to_loader
for more details.
Sourcepub fn connect_channel_to_loader(
&self,
server_end: ServerEnd<LoaderMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_loader( &self, server_end: ServerEnd<LoaderMarker>, ) -> Result<(), Error>
Like connect_to_loader
, but accepts a server end.
See Self::connect_to_loader
for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for TrustedServiceProxy
impl ServiceProxy for TrustedServiceProxy
Source§type Service = TrustedServiceMarker
type Service = TrustedServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for TrustedServiceProxy
impl !RefUnwindSafe for TrustedServiceProxy
impl Send for TrustedServiceProxy
impl Sync for TrustedServiceProxy
impl Unpin for TrustedServiceProxy
impl !UnwindSafe for TrustedServiceProxy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more