pub enum FixedCodecError {
Decoder(DecoderError),
StringUTF8(FromUtf8Error),
DecodeBool,
DecodeUint8,
}
Variants§
Trait Implementations§
Source§impl Debug for FixedCodecError
impl Debug for FixedCodecError
Source§impl Display for FixedCodecError
impl Display for FixedCodecError
Source§impl Error for FixedCodecError
impl Error for FixedCodecError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<DecoderError> for FixedCodecError
impl From<DecoderError> for FixedCodecError
Source§fn from(original: DecoderError) -> FixedCodecError
fn from(original: DecoderError) -> FixedCodecError
Converts to this type from the input type.
Source§impl From<FixedCodecError> for ProtocolError
impl From<FixedCodecError> for ProtocolError
Source§fn from(err: FixedCodecError) -> ProtocolError
fn from(err: FixedCodecError) -> ProtocolError
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for FixedCodecError
impl From<FromUtf8Error> for FixedCodecError
Source§fn from(original: FromUtf8Error) -> FixedCodecError
fn from(original: FromUtf8Error) -> FixedCodecError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FixedCodecError
impl RefUnwindSafe for FixedCodecError
impl Send for FixedCodecError
impl Sync for FixedCodecError
impl Unpin for FixedCodecError
impl UnwindSafe for FixedCodecError
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