pub trait Expandable {
    // Required method
    fn expandable(&self) -> bool;
}
Expand description

Provides a mechanism for identifying input types that allow adding more data. This allows for some input-type oriented behaviors, like initializing the end of stream status to true if we know more data can not be added.

Required Methods§

source

fn expandable(&self) -> bool

Implementations on Foreign Types§

source§

impl<T: AsRef<[u8]> + ?Sized> Expandable for &T

source§

impl Expandable for Vec<u8>

Implementors§