pub struct ChargerServiceProxy(/* private fields */);
Implementations§
Source§impl ChargerServiceProxy
impl ChargerServiceProxy
pub fn connect_to_device(&self) -> Result<ChargerProxy, Error>
Sourcepub fn connect_to_device_sync(&self) -> Result<ChargerSynchronousProxy, Error>
pub fn connect_to_device_sync(&self) -> Result<ChargerSynchronousProxy, 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<ChargerMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<ChargerMarker>, ) -> 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 ChargerServiceProxy
impl ServiceProxy for ChargerServiceProxy
Source§type Service = ChargerServiceMarker
type Service = ChargerServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for ChargerServiceProxy
impl !RefUnwindSafe for ChargerServiceProxy
impl Send for ChargerServiceProxy
impl Sync for ChargerServiceProxy
impl Unpin for ChargerServiceProxy
impl !UnwindSafe for ChargerServiceProxy
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