pub enum StartupRequest {
Start {
device: ClientEnd<BlockMarker>,
options: StartOptions,
responder: StartupStartResponder,
},
Format {
device: ClientEnd<BlockMarker>,
options: FormatOptions,
responder: StartupFormatResponder,
},
Check {
device: ClientEnd<BlockMarker>,
options: CheckOptions,
responder: StartupCheckResponder,
},
}
Variants§
Start
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.
Format
Format the provided block device with this filesystem.
Check
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.
Implementations§
Source§impl StartupRequest
impl StartupRequest
pub fn into_start( self, ) -> Option<(ClientEnd<BlockMarker>, StartOptions, StartupStartResponder)>
pub fn into_format( self, ) -> Option<(ClientEnd<BlockMarker>, FormatOptions, StartupFormatResponder)>
pub fn into_check( self, ) -> Option<(ClientEnd<BlockMarker>, CheckOptions, StartupCheckResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StartupRequest
impl !RefUnwindSafe for StartupRequest
impl Send for StartupRequest
impl Sync for StartupRequest
impl Unpin for StartupRequest
impl !UnwindSafe for StartupRequest
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