Struct mapped_file::Anonymous
source · pub struct Anonymous;Expand description
Used for anonymous mappings with MappedFile.
Safety
The AsRawFd impl of this structure always returns -1. It should only be used with MappedFile, as this is an invlalid file descriptor in all other contexts.
Trait Implementations§
source§impl Ord for Anonymous
impl Ord for Anonymous
source§impl PartialEq<Anonymous> for Anonymous
impl PartialEq<Anonymous> for Anonymous
source§impl PartialOrd<Anonymous> for Anonymous
impl PartialOrd<Anonymous> for Anonymous
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more