[][src]Struct ac_ffmpeg::format::io::IO

pub struct IO<T> { /* fields omitted */ }

An AVIO IO that connects FFmpeg AVIO context with Rust streams.

Implementations

impl<T> IO<T>[src]

pub fn stream(&self) -> &T[src]

Get reference to the underlying stream.

pub fn stream_mut(&mut self) -> &mut T[src]

Get mutable reference to the underlying stream.

impl<T> IO<T> where
    T: Read
[src]

pub fn from_read_stream(stream: T) -> Self[src]

Create a new IO from a given stream.

impl<T> IO<T> where
    T: Read + Seek
[src]

pub fn from_seekable_read_stream(stream: T) -> Self[src]

Create a new IO from a given stream.

impl<T> IO<T> where
    T: Write
[src]

pub fn from_write_stream(stream: T) -> Self[src]

Create a new IO from a given stream.

impl<T> IO<T> where
    T: Write + Seek
[src]

pub fn from_seekable_write_stream(stream: T) -> Self[src]

Create a new IO from a given stream.

Auto Trait Implementations

impl<T> RefUnwindSafe for IO<T> where
    T: RefUnwindSafe

impl<T> Send for IO<T> where
    T: Send

impl<T> Sync for IO<T> where
    T: Sync

impl<T> Unpin for IO<T>

impl<T> UnwindSafe for IO<T> where
    T: 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<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.