Trait bcder::decode::IntoSource

source ·
pub trait IntoSource {
    type Source: Source;

    // Required method
    fn into_source(self) -> Self::Source;
}
Expand description

A type that can be converted into a source.

Required Associated Types§

Required Methods§

source

fn into_source(self) -> Self::Source

Implementations on Foreign Types§

source§

impl IntoSource for Bytes

source§

impl<'a> IntoSource for &'a [u8]

§

type Source = SliceSource<'a>

source§

fn into_source(self) -> Self::Source

Implementors§