Struct gstreamer::BufferRefCursor [−][src]
pub struct BufferRefCursor<T> { /* fields omitted */ }
Implementations
impl<T> BufferRefCursor<T>
[src]
impl<T> BufferRefCursor<T>
[src]pub fn stream_len(&mut self) -> Result<u64, Error>
[src]
pub fn stream_position(&mut self) -> Result<u64, Error>
[src]
Trait Implementations
impl<T: Debug> Debug for BufferRefCursor<T>
[src]
impl<T: Debug> Debug for BufferRefCursor<T>
[src]impl<T> Drop for BufferRefCursor<T>
[src]
impl<T> Drop for BufferRefCursor<T>
[src]impl<'a> Read for BufferRefCursor<&'a BufferRef>
[src]
impl<'a> Read for BufferRefCursor<&'a BufferRef>
[src]fn read(&mut self, data: &mut [u8]) -> Result<usize, Error>
[src]
fn read(&mut self, data: &mut [u8]) -> Result<usize, Error>
[src]Pull some bytes from this source into the specified buffer, returning how many bytes were read. Read more
fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>
1.36.0[src]
fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>
1.36.0[src]Like read
, except that it reads into a slice of buffers. Read more
fn is_read_vectored(&self) -> bool
[src]
fn is_read_vectored(&self) -> bool
[src]can_vector
)Determines if this Read
er has an efficient read_vectored
implementation. Read more
unsafe fn initializer(&self) -> Initializer
[src]
unsafe fn initializer(&self) -> Initializer
[src]read_initializer
)Determines if this Read
er can work with buffers of uninitialized
memory. Read more
fn read_to_end(&mut self, buf: &mut Vec<u8, Global>) -> Result<usize, Error>
1.0.0[src]
fn read_to_end(&mut self, buf: &mut Vec<u8, Global>) -> Result<usize, Error>
1.0.0[src]Read all bytes until EOF in this source, placing them into buf
. Read more
fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>
1.0.0[src]
fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>
1.0.0[src]Read all bytes until EOF in this source, appending them to buf
. Read more
fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>
1.6.0[src]
fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>
1.6.0[src]Read the exact number of bytes required to fill buf
. Read more
fn by_ref(&mut self) -> &mut Self
1.0.0[src]
fn by_ref(&mut self) -> &mut Self
1.0.0[src]Creates a “by reference” adaptor for this instance of Read
. Read more
impl<'a> Seek for BufferRefCursor<&'a BufferRef>
[src]
impl<'a> Seek for BufferRefCursor<&'a BufferRef>
[src]impl<'a> Seek for BufferRefCursor<&'a mut BufferRef>
[src]
impl<'a> Seek for BufferRefCursor<&'a mut BufferRef>
[src]impl<'a> Write for BufferRefCursor<&'a mut BufferRef>
[src]
impl<'a> Write for BufferRefCursor<&'a mut BufferRef>
[src]fn write(&mut self, data: &[u8]) -> Result<usize, Error>
[src]
fn write(&mut self, data: &[u8]) -> Result<usize, Error>
[src]Write a buffer into this writer, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<(), Error>
[src]
fn flush(&mut self) -> Result<(), Error>
[src]Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn is_write_vectored(&self) -> bool
[src]
fn is_write_vectored(&self) -> bool
[src]can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]Attempts to write an entire buffer into this writer. Read more
fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>
[src]
fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>
[src]write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
impl<T> Send for BufferRefCursor<T>
[src]
impl<T> Sync for BufferRefCursor<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for BufferRefCursor<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Unpin for BufferRefCursor<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for BufferRefCursor<T> where
T: UnwindSafe,
T: UnwindSafe,