Skip to main content

MediaReader

Trait MediaReader 

Source
pub trait MediaReader:
    Read
    + Seek
    + Send
    + 'static { }
Expand description

What a media response is read from. Any Read + Seek works, such as std::fs::File.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Read + Seek + Send + 'static> MediaReader for T