Enum stream_inmemory::StreamError [−][src]
pub enum StreamError { EOF, ZeroLength, }
Expand description
Errors that can occurred if use read or peek funcs.
Inmemory stream has error EOF when try read them if it is empty.
Inmemory stream has error ZeroLength when try read them if buffer`s len is zero.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StreamError
impl Send for StreamError
impl Sync for StreamError
impl Unpin for StreamError
impl UnwindSafe for StreamError
Blanket Implementations
Mutably borrows from an owned value. Read more