pub struct WeakFileDescriptionRef<T: ?Sized>(Weak<FdIdWith<T>>);
Expand description
Holds a weak reference to the actual file description.
Tuple Fields§
§0: Weak<FdIdWith<T>>
Implementations§
Source§impl<T: ?Sized> WeakFileDescriptionRef<T>
impl<T: ?Sized> WeakFileDescriptionRef<T>
pub fn upgrade(&self) -> Option<FileDescriptionRef<T>>
Trait Implementations§
Source§impl<T: ?Sized> Clone for WeakFileDescriptionRef<T>
impl<T: ?Sized> Clone for WeakFileDescriptionRef<T>
Source§impl<T> VisitProvenance for WeakFileDescriptionRef<T>
impl<T> VisitProvenance for WeakFileDescriptionRef<T>
fn visit_provenance(&self, _visit: &mut VisitWith<'_>)
Auto Trait Implementations§
impl<T> Freeze for WeakFileDescriptionRef<T>where
T: ?Sized,
impl<T> !RefUnwindSafe for WeakFileDescriptionRef<T>
impl<T> !Send for WeakFileDescriptionRef<T>
impl<T> !Sync for WeakFileDescriptionRef<T>
impl<T> Unpin for WeakFileDescriptionRef<T>where
T: ?Sized,
impl<T> !UnwindSafe for WeakFileDescriptionRef<T>
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,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.