pub enum At {
Child {
parent: Arc<OwnedFd>,
name: Vec<u8>,
},
Object(Arc<OwnedFd>),
Path,
}Expand description
Where the object a guest path names is, for the *at syscalls.
Variants§
Child
name inside the pinned directory parent. Acted on with
O_NOFOLLOW/AT_SYMLINK_NOFOLLOW: the walk already followed the
name when asked to, so a symlink there now was swapped in since.
Object(Arc<OwnedFd>)
The pinned object itself: the root or a binding, reached through
/proc/self/fd/<n>, which the kernel resolves to the open inode.
Path
Only the textual host path: a /proc magic link the kernel must
re-open itself, or a mount point whose host side does not exist yet.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for At
impl RefUnwindSafe for At
impl Send for At
impl Sync for At
impl Unpin for At
impl UnsafeUnpin for At
impl UnwindSafe for At
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