#[repr(C)]pub struct aws_input_stream {
pub impl_: *mut c_void,
pub vtable: *const aws_input_stream_vtable,
pub ref_count: aws_ref_count,
}
Expand description
Base class for input streams. Note: when you implement one input stream, the ref_count needs to be initialized to clean up the resource when reaches to zero.
Fields
impl_: *mut c_void
vtable: *const aws_input_stream_vtable
ref_count: aws_ref_count
Trait Implementations
sourceimpl Clone for aws_input_stream
impl Clone for aws_input_stream
sourcefn clone(&self) -> aws_input_stream
fn clone(&self) -> aws_input_stream
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_input_stream
impl Debug for aws_input_stream
sourceimpl Default for aws_input_stream
impl Default for aws_input_stream
sourceimpl PartialEq<aws_input_stream> for aws_input_stream
impl PartialEq<aws_input_stream> for aws_input_stream
sourcefn eq(&self, other: &aws_input_stream) -> bool
fn eq(&self, other: &aws_input_stream) -> bool
impl Copy for aws_input_stream
impl Eq for aws_input_stream
impl StructuralEq for aws_input_stream
impl StructuralPartialEq for aws_input_stream
Auto Trait Implementations
impl RefUnwindSafe for aws_input_stream
impl !Send for aws_input_stream
impl !Sync for aws_input_stream
impl Unpin for aws_input_stream
impl UnwindSafe for aws_input_stream
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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