#[repr(C)]pub enum GetdentResult {
None,
Success(u64),
EndOfDirectory,
Error(i32),
}Expand description
Result of a Getdent hypercall.
Variants§
None
No result. Guests should set this value before calling the hypercall.
Success(u64)
Number of bytes written on success.
EndOfDirectory
End of directory.
Error(i32)
Error with libc errno.
Trait Implementations§
Source§impl Clone for GetdentResult
impl Clone for GetdentResult
Source§fn clone(&self) -> GetdentResult
fn clone(&self) -> GetdentResult
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 GetdentResult
Auto Trait Implementations§
impl Freeze for GetdentResult
impl RefUnwindSafe for GetdentResult
impl Send for GetdentResult
impl Sync for GetdentResult
impl Unpin for GetdentResult
impl UnsafeUnpin for GetdentResult
impl UnwindSafe for GetdentResult
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