Enum manual_serializer::error::Error
source · pub enum Error {
String(String),
FromUtf16Error(FromUtf16Error),
TryFromSliceError(TryFromSliceError),
TryOffsetError(usize, usize, usize),
TryStoreError(&'static str, usize, usize),
TryStoreSliceError(usize, usize, usize),
}
Variants§
String(String)
FromUtf16Error(FromUtf16Error)
TryFromSliceError(TryFromSliceError)
TryOffsetError(usize, usize, usize)
TryStoreError(&'static str, usize, usize)
TryStoreSliceError(usize, usize, usize)
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<FromUtf16Error> for Error
impl From<FromUtf16Error> for Error
source§fn from(e: FromUtf16Error) -> Error
fn from(e: FromUtf16Error) -> Error
Converts to this type from the input type.
source§impl From<TryFromSliceError> for Error
impl From<TryFromSliceError> for Error
source§fn from(e: TryFromSliceError) -> Error
fn from(e: TryFromSliceError) -> Error
Converts to this type from the input type.