pub enum StarnixVolumeProviderRequest {
Mount {
crypt: ClientEnd<CryptMarker>,
mode: MountMode,
exposed_dir: ServerEnd<DirectoryMarker>,
responder: StarnixVolumeProviderMountResponder,
},
}Expand description
Provides access to the volume which will be used by Starnix to store its data.
Variants§
Mount
Mounts the main starnix volume using crypt. exposed_dir will be connected to the
exposed directory of the mounted starnix volume.
If mode is MAYBE_CREATE, the volume will be created if it does not exist.
If mode is ALWAYS_CREATE, the volume will be created, overwriting any existing volume.
Returns the GUID of the mounted volume.
Fields
§
crypt: ClientEnd<CryptMarker>§
exposed_dir: ServerEnd<DirectoryMarker>§
responder: StarnixVolumeProviderMountResponderImplementations§
Source§impl StarnixVolumeProviderRequest
impl StarnixVolumeProviderRequest
pub fn into_mount( self, ) -> Option<(ClientEnd<CryptMarker>, MountMode, ServerEnd<DirectoryMarker>, StarnixVolumeProviderMountResponder)>
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 StarnixVolumeProviderRequest
impl !RefUnwindSafe for StarnixVolumeProviderRequest
impl Send for StarnixVolumeProviderRequest
impl Sync for StarnixVolumeProviderRequest
impl Unpin for StarnixVolumeProviderRequest
impl !UnwindSafe for StarnixVolumeProviderRequest
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