pub enum File<M> {
Missing(M),
Closed(Result<(), Errno>),
}Expand description
Exact descriptor-table absence or the result of the one owned close syscall.
Variants§
Trait Implementations§
impl<M: Copy> Copy for File<M>
impl<M: Eq> Eq for File<M>
impl<M: PartialEq> StructuralPartialEq for File<M>
Auto Trait Implementations§
impl<M> Freeze for File<M>where
M: Freeze,
impl<M> RefUnwindSafe for File<M>where
M: RefUnwindSafe,
impl<M> Send for File<M>where
M: Send,
impl<M> Sync for File<M>where
M: Sync,
impl<M> Unpin for File<M>where
M: Unpin,
impl<M> UnsafeUnpin for File<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for File<M>where
M: UnwindSafe,
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