Struct gstreamer::BufferCursor [−][src]
pub struct BufferCursor<T> { /* fields omitted */ }
Implementations
impl<T> BufferCursor<T>
[src]
impl<T> BufferCursor<T>
[src]Trait Implementations
impl<T> Debug for BufferCursor<T>
[src]
impl<T> Debug for BufferCursor<T>
[src]impl<T> Drop for BufferCursor<T>
[src]
impl<T> Drop for BufferCursor<T>
[src]impl Read for BufferCursor<Readable>
[src]
impl Read for BufferCursor<Readable>
[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<T> Seek for BufferCursor<T>
[src]
impl<T> Seek for BufferCursor<T>
[src]impl Write for BufferCursor<Writable>
[src]
impl Write for BufferCursor<Writable>
[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 BufferCursor<T>
[src]
impl<T> Sync for BufferCursor<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for BufferCursor<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Unpin for BufferCursor<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for BufferCursor<T> where
T: UnwindSafe,
T: UnwindSafe,