Enum fuels_core::errors::CodecError
source · [−]pub enum CodecError {
InvalidData,
Utf8Error(Utf8Error),
}Variants
InvalidData
Utf8Error(Utf8Error)
Trait Implementations
sourceimpl Debug for CodecError
impl Debug for CodecError
sourceimpl Display for CodecError
impl Display for CodecError
sourceimpl From<CodecError> for Error
impl From<CodecError> for Error
sourcefn from(err: CodecError) -> Error
fn from(err: CodecError) -> Error
Performs the conversion.
sourceimpl From<Utf8Error> for CodecError
impl From<Utf8Error> for CodecError
sourcefn from(e: Utf8Error) -> CodecError
fn from(e: Utf8Error) -> CodecError
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CodecError
impl Send for CodecError
impl Sync for CodecError
impl Unpin for CodecError
impl UnwindSafe for CodecError
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