Struct x11rb_protocol::RawFdContainer
source · [−]pub struct RawFdContainer(_);
Expand description
A simple wrapper around RawFd that closes the fd on drop.
On non-unix systems, this type is empty and does not provide any method.
Trait Implementations
sourceimpl Debug for RawFdContainer
impl Debug for RawFdContainer
sourceimpl Drop for RawFdContainer
impl Drop for RawFdContainer
sourceimpl Hash for RawFdContainer
impl Hash for RawFdContainer
sourceimpl PartialEq<RawFdContainer> for RawFdContainer
impl PartialEq<RawFdContainer> for RawFdContainer
sourcefn eq(&self, other: &RawFdContainer) -> bool
fn eq(&self, other: &RawFdContainer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RawFdContainer) -> bool
fn ne(&self, other: &RawFdContainer) -> bool
This method tests for !=
.
impl Eq for RawFdContainer
impl StructuralEq for RawFdContainer
impl StructuralPartialEq for RawFdContainer
Auto Trait Implementations
impl RefUnwindSafe for RawFdContainer
impl Send for RawFdContainer
impl Sync for RawFdContainer
impl Unpin for RawFdContainer
impl UnwindSafe for RawFdContainer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more