pub struct ServiceProxy(/* private fields */);Implementations§
Source§impl ServiceProxy
impl ServiceProxy
pub fn connect_to_volume(&self) -> Result<BlockProxy, Error>
Sourcepub fn connect_to_volume_sync(&self) -> Result<BlockSynchronousProxy, Error>
pub fn connect_to_volume_sync(&self) -> Result<BlockSynchronousProxy, Error>
Like connect_to_volume, but returns a sync proxy.
See Self::connect_to_volume for more details.
Sourcepub fn connect_channel_to_volume(
&self,
server_end: ServerEnd<BlockMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_volume( &self, server_end: ServerEnd<BlockMarker>, ) -> Result<(), Error>
Like connect_to_volume, but accepts a server end.
See Self::connect_to_volume for more details.
pub fn connect_to_inline_encryption(&self) -> Result<DeviceProxy, Error>
Sourcepub fn connect_to_inline_encryption_sync(
&self,
) -> Result<DeviceSynchronousProxy, Error>
pub fn connect_to_inline_encryption_sync( &self, ) -> Result<DeviceSynchronousProxy, Error>
Like connect_to_inline_encryption, but returns a sync proxy.
See Self::connect_to_inline_encryption for more details.
Sourcepub fn connect_channel_to_inline_encryption(
&self,
server_end: ServerEnd<DeviceMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_inline_encryption( &self, server_end: ServerEnd<DeviceMarker>, ) -> Result<(), Error>
Like connect_to_inline_encryption, but accepts a server end.
See Self::connect_to_inline_encryption for more details.
pub fn connect_to_node(&self) -> Result<NodeProxy, Error>
Sourcepub fn connect_to_node_sync(&self) -> Result<NodeSynchronousProxy, Error>
pub fn connect_to_node_sync(&self) -> Result<NodeSynchronousProxy, Error>
Like connect_to_node, but returns a sync proxy.
See Self::connect_to_node for more details.
Sourcepub fn connect_channel_to_node(
&self,
server_end: ServerEnd<NodeMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_node( &self, server_end: ServerEnd<NodeMarker>, ) -> Result<(), Error>
Like connect_to_node, but accepts a server end.
See Self::connect_to_node for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for ServiceProxy
Available on Fuchsia only.
impl ServiceProxy for ServiceProxy
Available on Fuchsia only.
Source§type Service = ServiceMarker
type Service = ServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for ServiceProxy
impl !RefUnwindSafe for ServiceProxy
impl Send for ServiceProxy
impl Sync for ServiceProxy
impl Unpin for ServiceProxy
impl !UnwindSafe for ServiceProxy
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