pub struct FxfsProvisionerSynchronousProxy { /* private fields */ }
Implementations§
Source§impl FxfsProvisionerSynchronousProxy
impl FxfsProvisionerSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<FxfsProvisionerEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<FxfsProvisionerEvent, 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 provision(
&self,
partition_service: ClientEnd<DirectoryMarker>,
___deadline: MonotonicInstant,
) -> Result<FxfsProvisionerProvisionResult, Error>
pub fn provision( &self, partition_service: ClientEnd<DirectoryMarker>, ___deadline: MonotonicInstant, ) -> Result<FxfsProvisionerProvisionResult, Error>
Format device to use Fxfs.
Trait Implementations§
Source§impl From<FxfsProvisionerSynchronousProxy> for Handle
impl From<FxfsProvisionerSynchronousProxy> for Handle
Source§fn from(value: FxfsProvisionerSynchronousProxy) -> Self
fn from(value: FxfsProvisionerSynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for FxfsProvisionerSynchronousProxy
impl FromClient for FxfsProvisionerSynchronousProxy
Source§type Protocol = FxfsProvisionerMarker
type Protocol = FxfsProvisionerMarker
The protocol.
Source§fn from_client(value: ClientEnd<FxfsProvisionerMarker>) -> Self
fn from_client(value: ClientEnd<FxfsProvisionerMarker>) -> Self
Converts from a client.
Source§impl SynchronousProxy for FxfsProvisionerSynchronousProxy
impl SynchronousProxy for FxfsProvisionerSynchronousProxy
Source§type Proxy = FxfsProvisionerProxy
type Proxy = FxfsProvisionerProxy
The async proxy for the same protocol.
Source§type Protocol = FxfsProvisionerMarker
type Protocol = FxfsProvisionerMarker
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 FxfsProvisionerSynchronousProxy
impl RefUnwindSafe for FxfsProvisionerSynchronousProxy
impl Send for FxfsProvisionerSynchronousProxy
impl Sync for FxfsProvisionerSynchronousProxy
impl Unpin for FxfsProvisionerSynchronousProxy
impl UnwindSafe for FxfsProvisionerSynchronousProxy
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