pub enum ByteStreamError {
IoError(Error),
InvalidBytesRead(usize),
InvalidBytesWritten(usize),
InvalidStringLength(usize),
InvalidString(String),
NotEnoughBytes,
NoMoreBytes,
}Variants§
IoError(Error)
InvalidBytesRead(usize)
InvalidBytesWritten(usize)
InvalidStringLength(usize)
InvalidString(String)
NotEnoughBytes
NoMoreBytes
Trait Implementations§
Source§impl Debug for ByteStreamError
impl Debug for ByteStreamError
Auto Trait Implementations§
impl Freeze for ByteStreamError
impl !RefUnwindSafe for ByteStreamError
impl Send for ByteStreamError
impl Sync for ByteStreamError
impl Unpin for ByteStreamError
impl !UnwindSafe for ByteStreamError
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