pub struct Mappable(/* private fields */);Expand description
A handle/fd to an OS object that can be mapped into memory.
This uses Arc to make clone cheap and reliable.
Implementations§
Trait Implementations§
Source§impl AsFd for Mappable
Available on Unix only.
impl AsFd for Mappable
Available on Unix only.
Source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Borrows the file descriptor. Read more
Auto Trait Implementations§
impl Freeze for Mappable
impl RefUnwindSafe for Mappable
impl Send for Mappable
impl Sync for Mappable
impl Unpin for Mappable
impl UnsafeUnpin for Mappable
impl UnwindSafe for Mappable
Blanket Implementations§
§impl<T> AsSockRef for T
impl<T> AsSockRef for T
§fn as_sock_ref(&self) -> SockRef<'_>
fn as_sock_ref(&self) -> SockRef<'_>
Returns a socket reference.
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