pub struct OverlayPartitionSynchronousProxy { /* private fields */ }
Implementations§
Source§impl OverlayPartitionSynchronousProxy
impl OverlayPartitionSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<OverlayPartitionEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<OverlayPartitionEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn get_partitions(
&self,
___deadline: MonotonicInstant,
) -> Result<OverlayPartitionGetPartitionsResult, Error>
pub fn get_partitions( &self, ___deadline: MonotonicInstant, ) -> Result<OverlayPartitionGetPartitionsResult, Error>
Returns the set of underlying GPT partitions which the overlay contains.
Trait Implementations§
Source§impl From<Channel> for OverlayPartitionSynchronousProxy
impl From<Channel> for OverlayPartitionSynchronousProxy
Source§impl From<OverlayPartitionSynchronousProxy> for Handle
impl From<OverlayPartitionSynchronousProxy> for Handle
Source§fn from(value: OverlayPartitionSynchronousProxy) -> Self
fn from(value: OverlayPartitionSynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for OverlayPartitionSynchronousProxy
impl FromClient for OverlayPartitionSynchronousProxy
Source§type Protocol = OverlayPartitionMarker
type Protocol = OverlayPartitionMarker
The protocol.
Source§fn from_client(value: ClientEnd<OverlayPartitionMarker>) -> Self
fn from_client(value: ClientEnd<OverlayPartitionMarker>) -> Self
Converts from a client.
Source§impl SynchronousProxy for OverlayPartitionSynchronousProxy
impl SynchronousProxy for OverlayPartitionSynchronousProxy
Source§type Proxy = OverlayPartitionProxy
type Proxy = OverlayPartitionProxy
The async proxy for the same protocol.
Source§type Protocol = OverlayPartitionMarker
type Protocol = OverlayPartitionMarker
The protocol which this
Proxy
controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for OverlayPartitionSynchronousProxy
impl RefUnwindSafe for OverlayPartitionSynchronousProxy
impl Send for OverlayPartitionSynchronousProxy
impl Sync for OverlayPartitionSynchronousProxy
impl Unpin for OverlayPartitionSynchronousProxy
impl UnwindSafe for OverlayPartitionSynchronousProxy
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