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
Sourcepub fn connect_to_volume(&self) -> Result<VolumeProxy, Error>
pub fn connect_to_volume(&self) -> Result<VolumeProxy, Error>
Always present.
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.
Sourcepub fn connect_to_partition(&self) -> Result<PartitionProxy, Error>
pub fn connect_to_partition(&self) -> Result<PartitionProxy, Error>
Present for partitions which are actual GPT partitions.
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.
Sourcepub fn connect_to_overlay(&self) -> Result<OverlayPartitionProxy, Error>
pub fn connect_to_overlay(&self) -> Result<OverlayPartitionProxy, Error>
Present for partitions which are overlays (i.e. a logical merge of several contiguous partitions).
Sourcepub fn connect_to_overlay_sync(
&self,
) -> Result<OverlayPartitionSynchronousProxy, Error>
pub fn connect_to_overlay_sync( &self, ) -> Result<OverlayPartitionSynchronousProxy, Error>
Like connect_to_overlay
, but returns a sync proxy.
See Self::connect_to_overlay
for more details.
Sourcepub fn connect_channel_to_overlay(
&self,
server_end: ServerEnd<OverlayPartitionMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_overlay( &self, server_end: ServerEnd<OverlayPartitionMarker>, ) -> Result<(), Error>
Like connect_to_overlay
, but accepts a server end.
See Self::connect_to_overlay
for more details.