pub struct FsHandle {
pub fd: OwnedFd,
}Expand description
A handle to a filesystem context created via the modern mount API.
This represents an open filesystem context (created by fsopen()) that can be
configured and then mounted. The handle automatically reads and prints any
error messages from the kernel when dropped.
Fields§
§fd: OwnedFdThe file descriptor for the filesystem context.
Implementations§
Trait Implementations§
Source§impl AsFd for FsHandle
impl AsFd for FsHandle
Source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Borrows the file descriptor. Read more
Auto Trait Implementations§
impl Freeze for FsHandle
impl RefUnwindSafe for FsHandle
impl Send for FsHandle
impl Sync for FsHandle
impl Unpin for FsHandle
impl UnwindSafe for FsHandle
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