Type Definition bincode::Error [−][src]
type Error = Box<ErrorKind>;
An error that can be produced during (de)serializing.
type Error = Box<ErrorKind>;
An error that can be produced during (de)serializing.
impl Error for Error
[src]impl Error for Error
[src]fn custom<T: Display>(desc: T) -> Error
[src]pub fn invalid_type(unexp: Unexpected<'_>, exp: &dyn Expected) -> Self
[src]pub fn invalid_value(unexp: Unexpected<'_>, exp: &dyn Expected) -> Self
[src]pub fn invalid_length(len: usize, exp: &dyn Expected) -> Self
[src]pub fn unknown_variant(variant: &str, expected: &'static [&'static str]) -> Self
[src]pub fn unknown_field(field: &str, expected: &'static [&'static str]) -> Self
[src]pub fn missing_field(field: &'static str) -> Self
[src]pub fn duplicate_field(field: &'static str) -> Self
[src]impl From<Error> for Error
[src]