Struct gmime::StreamFs [−]
pub struct StreamFs(_, _);
Methods
impl StreamFs
[src]
impl StreamFs
pub fn new(fd: i32) -> StreamFs
[src]
pub fn new(fd: i32) -> StreamFs
pub fn new_with_bounds(fd: i32, start: i64, end: i64) -> StreamFs
[src]
pub fn new_with_bounds(fd: i32, start: i64, end: i64) -> StreamFs
Creates 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 StreamFs
fn clone(&self) -> StreamFs
fn clone(&self) -> StreamFs
Returns 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 StreamFs
fn fmt(&self, __arg_0: &mut Formatter) -> Result
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for StreamFs
impl Hash for StreamFs
fn 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 StreamFs
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for StreamFs
impl<T: IsA<Object>> PartialEq<T> for StreamFs
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for StreamFs
impl Eq for StreamFs
impl IsA<Stream> for StreamFs
impl IsA<Stream> for StreamFs
impl IsA<Object> for StreamFs
impl IsA<Object> for StreamFs