pub struct Pin {
host: Vec<u8>,
fd: OnceLock<Arc<OwnedFd>>,
}Expand description
The host side of the root or of a binding, held open once.
Every walk starts from one of these descriptors rather than from the
textual host prefix, so a rename of the prefix’s parents on the host (the
rootfs under a bound $HOME, say) cannot redirect it. A host that does
not exist yet is opened on the first lookup that finds it there.
Fields§
§host: Vec<u8>§fd: OnceLock<Arc<OwnedFd>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnsafeUnpin for Pin
impl UnwindSafe for Pin
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