pub enum MessageError {
TooShortForHeader,
TooShortForLength,
IllegalLength,
IllegalContentType,
IllegalProtocolVersion,
}
Variants
TooShortForHeader
TooShortForLength
IllegalLength
IllegalContentType
IllegalProtocolVersion
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MessageError
impl Send for MessageError
impl Sync for MessageError
impl Unpin for MessageError
impl UnwindSafe for MessageError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more