Enum hebo_codec::utils::StringError
source · [−]pub enum StringError {
TooManyData,
InvalidLength,
InvalidChar,
SeriousError,
}Expand description
Invalid UTF-8 string.
Variants
TooManyData
InvalidLength
InvalidChar
SeriousError
Server or client shall DISCONNECT immediately.
Trait Implementations
sourceimpl Debug for StringError
impl Debug for StringError
sourceimpl From<FromUtf8Error> for StringError
impl From<FromUtf8Error> for StringError
sourcefn from(_e: FromUtf8Error) -> Self
fn from(_e: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<StringError> for ByteArrayError
impl From<StringError> for ByteArrayError
sourcefn from(e: StringError) -> Self
fn from(e: StringError) -> Self
Converts to this type from the input type.
sourceimpl From<StringError> for EncodeError
impl From<StringError> for EncodeError
sourcefn from(err: StringError) -> Self
fn from(err: StringError) -> Self
Converts to this type from the input type.
sourceimpl From<StringError> for DecodeError
impl From<StringError> for DecodeError
sourcefn from(err: StringError) -> Self
fn from(err: StringError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<StringError> for StringError
impl PartialEq<StringError> for StringError
impl StructuralPartialEq for StringError
Auto Trait Implementations
impl RefUnwindSafe for StringError
impl Send for StringError
impl Sync for StringError
impl Unpin for StringError
impl UnwindSafe for StringError
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