[][src]Struct av_format::buffer::AccReader

pub struct AccReader<R> { /* fields omitted */ }

Implementations

impl<R: Read + Seek> AccReader<R>[src]

pub fn new(inner: R) -> AccReader<R>

Important traits for AccReader<R>

impl<R: Read + Seek> Read for AccReader<R>
[src]

pub fn with_capacity(cap: usize, inner: R) -> AccReader<R>

Important traits for AccReader<R>

impl<R: Read + Seek> Read for AccReader<R>
[src]

pub fn get_ref(&self) -> &R[src]

Gets a reference to the underlying reader.

pub fn get_mut(&mut self) -> &mut R[src]

Gets a mutable reference to the underlying reader.

pub fn into_inner(self) -> R[src]

Unwraps this AccReader, returning the underlying reader.

Note that any leftover data in the internal buffer is lost.

pub fn reset_buffer_position(&mut self)[src]

pub fn current_slice(&self) -> &[u8][src]

pub fn capacity(&self) -> usize[src]

Trait Implementations

impl<R: Read + Seek> BufRead for AccReader<R>[src]

impl<R: Read + Seek + Send> Buffered for AccReader<R>[src]

impl<R: Read + Seek> Read for AccReader<R>[src]

impl<R: Read + Seek> Seek for AccReader<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for AccReader<R> where
    R: RefUnwindSafe

impl<R> Send for AccReader<R> where
    R: Send

impl<R> Sync for AccReader<R> where
    R: Sync

impl<R> Unpin for AccReader<R> where
    R: Unpin

impl<R> UnwindSafe for AccReader<R> where
    R: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<R> ReadPacket for R where
    R: Read + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.