pub struct RawCodec;Expand description
Format sniffing for raw streams.
Raw has no magic bytes, so RawCodec::probe always returns false: raw
can never be detected, only requested explicitly. Sniffing an unknown
stream as raw would mean treating arbitrary bytes as pixels of arbitrary
dimensions, which is not a decision the engine can make for the caller.
Trait Implementations§
impl Copy for RawCodec
Auto Trait Implementations§
impl Freeze for RawCodec
impl RefUnwindSafe for RawCodec
impl Send for RawCodec
impl Sync for RawCodec
impl Unpin for RawCodec
impl UnsafeUnpin for RawCodec
impl UnwindSafe for RawCodec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more