Struct gmime::StreamFs [−]
pub struct StreamFs(_, _);
Methods
impl StreamFs[src]
impl StreamFspub fn new(fd: i32) -> StreamFs[src]
pub fn new(fd: i32) -> StreamFspub fn new_with_bounds(fd: i32, start: i64, end: i64) -> StreamFs[src]
pub fn new_with_bounds(fd: i32, start: i64, end: i64) -> StreamFsCreates a new StreamFs object around fd with bounds start
and end.
fd
a file descriptor
start
start boundary
end
end boundary
Returns
a stream using fd with bounds start and end.
pub fn open(path: &str, flags: i32, mode: i32) -> Result<Stream, Error>[src]
pub fn open(path: &str, flags: i32, mode: i32) -> Result<Stream, Error>Trait Implementations
impl Clone for StreamFs
impl Clone for StreamFsfn clone(&self) -> StreamFs
fn clone(&self) -> StreamFsReturns 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 StreamFs
impl Debug for StreamFsfn 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 StreamFs
impl Hash for StreamFsfn 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 StreamFs
impl StaticType for StreamFsfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for StreamFs
impl<T: IsA<Object>> PartialEq<T> for StreamFsfn 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 StreamFs
impl Eq for StreamFsimpl IsA<Stream> for StreamFs
impl IsA<Stream> for StreamFsimpl IsA<Object> for StreamFs
impl IsA<Object> for StreamFs