pub struct DataChannelServiceProxy(/* private fields */);
Expand description
Service for clients.
The data channel is pre-bound to a particular identifier as per bind rules.
Implementations§
Source§impl DataChannelServiceProxy
impl DataChannelServiceProxy
pub fn connect_to_device(&self) -> Result<DataChannelProxy, Error>
Sourcepub fn connect_to_device_sync(
&self,
) -> Result<DataChannelSynchronousProxy, Error>
pub fn connect_to_device_sync( &self, ) -> Result<DataChannelSynchronousProxy, 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<DataChannelMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<DataChannelMarker>, ) -> Result<(), Error>
Like connect_to_device
, but accepts a server end.
See Self::connect_to_device
for more details.
pub fn connect_to_lifecycle(&self) -> Result<LifecycleObserverProxy, Error>
Sourcepub fn connect_to_lifecycle_sync(
&self,
) -> Result<LifecycleObserverSynchronousProxy, Error>
pub fn connect_to_lifecycle_sync( &self, ) -> Result<LifecycleObserverSynchronousProxy, Error>
Like connect_to_lifecycle
, but returns a sync proxy.
See Self::connect_to_lifecycle
for more details.
Sourcepub fn connect_channel_to_lifecycle(
&self,
server_end: ServerEnd<LifecycleObserverMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_lifecycle( &self, server_end: ServerEnd<LifecycleObserverMarker>, ) -> Result<(), Error>
Like connect_to_lifecycle
, but accepts a server end.
See Self::connect_to_lifecycle
for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for DataChannelServiceProxy
impl ServiceProxy for DataChannelServiceProxy
Source§type Service = DataChannelServiceMarker
type Service = DataChannelServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for DataChannelServiceProxy
impl !RefUnwindSafe for DataChannelServiceProxy
impl Send for DataChannelServiceProxy
impl Sync for DataChannelServiceProxy
impl Unpin for DataChannelServiceProxy
impl !UnwindSafe for DataChannelServiceProxy
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