Enum zmq::EncodeError
source · pub enum EncodeError {
BadLength,
FromUtf8Error(FromUtf8Error),
}
Expand description
Errors that can occur while encoding Z85.
Variants§
BadLength
FromUtf8Error(FromUtf8Error)
Trait Implementations§
source§impl Debug for EncodeError
impl Debug for EncodeError
source§impl Display for EncodeError
impl Display for EncodeError
source§impl Error for EncodeError
impl Error for EncodeError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
source§impl From<FromUtf8Error> for EncodeError
impl From<FromUtf8Error> for EncodeError
source§fn from(err: FromUtf8Error) -> Self
fn from(err: FromUtf8Error) -> Self
Converts to this type from the input type.