pub enum Server_Request {
MountVmo {
source: Vmo,
flags: OpenFlags,
root: ServerEnd<DirectoryMarker>,
responder: Server_MountVmoResponder,
},
}
Variants§
MountVmo
Read the VMO content as an Ext4 image and return a channel to the root of the mounted file system.
- request
source
is an Ext4 image to be served over theroot
connection. - request
flags
is the same flags you can pass to [fuchsia.io/Directory.Open
] call. In particular [OPEN_FLAG_DESCRIBE
] can be used to report mount errors. Note that [MountVmoError
] will contain a better description of any error that may occur at the mount time. - request
root
is the server end of a connection that will be serving the root of the mounted image.
- result
result
In case we could parse the image far enough to read the root directory [MountVmoResult.success
] will be returned. Note that you may pipeline requests to theroot
connection even before received a response. In case of an error one of the other values will be returned and theroot
connection will be closed.
Implementations§
source§impl Server_Request
impl Server_Request
pub fn into_mount_vmo( self ) -> Option<(Vmo, OpenFlags, ServerEnd<DirectoryMarker>, Server_MountVmoResponder)>
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 !RefUnwindSafe for Server_Request
impl Send for Server_Request
impl Sync for Server_Request
impl Unpin for Server_Request
impl !UnwindSafe for Server_Request
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