Struct gmime::StreamMmap [−]
pub struct StreamMmap(_, _);
Methods
impl StreamMmap[src]
impl StreamMmappub fn new(fd: i32, prot: i32, flags: i32) -> StreamMmap[src]
pub fn new(fd: i32, prot: i32, flags: i32) -> StreamMmapCreates a new StreamMmap object around fd.
fd
file descriptor
prot
protection flags
flags
map flags
Returns
a stream using fd.
pub fn new_with_bounds(
fd: i32,
prot: i32,
flags: i32,
start: i64,
end: i64
) -> StreamMmap[src]
pub fn new_with_bounds(
fd: i32,
prot: i32,
flags: i32,
start: i64,
end: i64
) -> StreamMmapTrait Implementations
impl Clone for StreamMmap
impl Clone for StreamMmapfn clone(&self) -> StreamMmap
fn clone(&self) -> StreamMmapReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for StreamMmap
impl Debug for StreamMmapfn fmt(&self, __arg_0: &mut Formatter) -> Result
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for StreamMmap
impl Hash for StreamMmapfn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl StaticType for StreamMmap
impl StaticType for StreamMmapfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for StreamMmap
impl<T: IsA<Object>> PartialEq<T> for StreamMmapfn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for StreamMmap
impl Eq for StreamMmapimpl IsA<Stream> for StreamMmap
impl IsA<Stream> for StreamMmapimpl IsA<Object> for StreamMmap
impl IsA<Object> for StreamMmapAuto Trait Implementations
impl !Send for StreamMmap
impl !Send for StreamMmapimpl !Sync for StreamMmap
impl !Sync for StreamMmap