pub struct DependencyInjectionServiceProxy(/* private fields */);
Implementations§
Source§impl DependencyInjectionServiceProxy
impl DependencyInjectionServiceProxy
pub fn connect_to_device(&self) -> Result<DependencyInjectionProxy, Error>
Sourcepub fn connect_to_device_sync(
&self,
) -> Result<DependencyInjectionSynchronousProxy, Error>
pub fn connect_to_device_sync( &self, ) -> Result<DependencyInjectionSynchronousProxy, Error>
Like connect_to_device
, but returns a sync proxy.
See Self::connect_to_device
for more details.
Sourcepub fn connect_channel_to_device(
&self,
server_end: ServerEnd<DependencyInjectionMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<DependencyInjectionMarker>, ) -> Result<(), Error>
Like connect_to_device
, but accepts a server end.
See Self::connect_to_device
for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for DependencyInjectionServiceProxy
impl ServiceProxy for DependencyInjectionServiceProxy
Source§type Service = DependencyInjectionServiceMarker
type Service = DependencyInjectionServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for DependencyInjectionServiceProxy
impl !RefUnwindSafe for DependencyInjectionServiceProxy
impl Send for DependencyInjectionServiceProxy
impl Sync for DependencyInjectionServiceProxy
impl Unpin for DependencyInjectionServiceProxy
impl !UnwindSafe for DependencyInjectionServiceProxy
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