pub struct ExportSpec {
pub name: String,
pub guest_path: String,
pub host_root: PathBuf,
pub read_only: bool,
/* private fields */
}Expand description
Host directory export registered with the 9P server.
Fields§
§name: String§guest_path: String§host_root: PathBuf§read_only: boolTrait Implementations§
Source§impl Clone for ExportSpec
impl Clone for ExportSpec
Auto Trait Implementations§
impl Forget for ExportSpec
impl Freeze for ExportSpec
impl Move for ExportSpec
impl RefUnwindSafe for ExportSpec
impl Send for ExportSpec
impl Sync for ExportSpec
impl Unpin for ExportSpec
impl UnsafeUnpin for ExportSpecwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Mutex<CowLayer>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<CowLayer>>>: UnsafeUnpin,
impl UnwindSafe for ExportSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more