pub struct StartupSynchronousProxy { /* private fields */ }
Implementations§
Source§impl StartupSynchronousProxy
impl StartupSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<StartupEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<StartupEvent, 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 start(
&self,
device: ClientEnd<BlockMarker>,
options: StartOptions,
___deadline: MonotonicInstant,
) -> Result<StartupStartResult, Error>
pub fn start( &self, device: ClientEnd<BlockMarker>, options: StartOptions, ___deadline: MonotonicInstant, ) -> Result<StartupStartResult, Error>
Start this filesystem, using the provided block device and Start options. When start is called, the filesystem will populate its outgoing directory and then return.
Sourcepub fn format(
&self,
device: ClientEnd<BlockMarker>,
options: &FormatOptions,
___deadline: MonotonicInstant,
) -> Result<StartupFormatResult, Error>
pub fn format( &self, device: ClientEnd<BlockMarker>, options: &FormatOptions, ___deadline: MonotonicInstant, ) -> Result<StartupFormatResult, Error>
Format the provided block device with this filesystem.
Sourcepub fn check(
&self,
device: ClientEnd<BlockMarker>,
options: CheckOptions,
___deadline: MonotonicInstant,
) -> Result<StartupCheckResult, Error>
pub fn check( &self, device: ClientEnd<BlockMarker>, options: CheckOptions, ___deadline: MonotonicInstant, ) -> Result<StartupCheckResult, Error>
Check the provided block device for filesystem consistency. Note that some filesystems (e.g. Fxfs) support online fsck, in which case they can be checked after being started. In this case, the passed block device is ignored.
Trait Implementations§
Source§impl Debug for StartupSynchronousProxy
impl Debug for StartupSynchronousProxy
Source§impl SynchronousProxy for StartupSynchronousProxy
impl SynchronousProxy for StartupSynchronousProxy
Source§type Proxy = StartupProxy
type Proxy = StartupProxy
The async proxy for the same protocol.
Source§type Protocol = StartupMarker
type Protocol = StartupMarker
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 StartupSynchronousProxy
impl RefUnwindSafe for StartupSynchronousProxy
impl Send for StartupSynchronousProxy
impl Sync for StartupSynchronousProxy
impl Unpin for StartupSynchronousProxy
impl UnwindSafe for StartupSynchronousProxy
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