#[repr(C)]pub enum MkdirResult {
None,
Success,
Error(i32),
}Expand description
Result of a Mkdir hypercall.
Variants§
None
No result. Guests should set this value before calling the hypercall.
Success
Directory was created.
Error(i32)
Error with libc errno.
Trait Implementations§
Source§impl Clone for MkdirResult
impl Clone for MkdirResult
Source§fn clone(&self) -> MkdirResult
fn clone(&self) -> MkdirResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MkdirResult
Auto Trait Implementations§
impl Freeze for MkdirResult
impl RefUnwindSafe for MkdirResult
impl Send for MkdirResult
impl Sync for MkdirResult
impl Unpin for MkdirResult
impl UnsafeUnpin for MkdirResult
impl UnwindSafe for MkdirResult
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