pub struct PartitionServiceProxy(/* private fields */);
Expand description
Each partition exposes this service. The instance names are unique for each partition but otherwise have no special meaning. In practice they correspond to the index in the GPT.
Implementations§
Source§impl PartitionServiceProxy
impl PartitionServiceProxy
pub fn connect_to_volume(&self) -> Result<VolumeProxy, Error>
Sourcepub fn connect_to_volume_sync(&self) -> Result<VolumeSynchronousProxy, Error>
pub fn connect_to_volume_sync(&self) -> Result<VolumeSynchronousProxy, 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<VolumeMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_volume( &self, server_end: ServerEnd<VolumeMarker>, ) -> Result<(), Error>
Like connect_to_volume
, but accepts a server end.
See Self::connect_to_volume
for more details.
pub fn connect_to_partition(&self) -> Result<PartitionProxy, Error>
Sourcepub fn connect_to_partition_sync(
&self,
) -> Result<PartitionSynchronousProxy, Error>
pub fn connect_to_partition_sync( &self, ) -> Result<PartitionSynchronousProxy, Error>
Like connect_to_partition
, but returns a sync proxy.
See Self::connect_to_partition
for more details.
Sourcepub fn connect_channel_to_partition(
&self,
server_end: ServerEnd<PartitionMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_partition( &self, server_end: ServerEnd<PartitionMarker>, ) -> Result<(), Error>
Like connect_to_partition
, but accepts a server end.
See Self::connect_to_partition
for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for PartitionServiceProxy
impl ServiceProxy for PartitionServiceProxy
Source§type Service = PartitionServiceMarker
type Service = PartitionServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for PartitionServiceProxy
impl !RefUnwindSafe for PartitionServiceProxy
impl !Send for PartitionServiceProxy
impl !Sync for PartitionServiceProxy
impl Unpin for PartitionServiceProxy
impl !UnwindSafe for PartitionServiceProxy
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