pub enum SignatureParseError {
MissingField(&'static str),
MalformedPair(String),
InvalidValue {
field: &'static str,
reason: String,
},
DuplicateField(&'static str),
}Variants§
Trait Implementations§
Source§impl Debug for SignatureParseError
impl Debug for SignatureParseError
Source§impl Display for SignatureParseError
impl Display for SignatureParseError
Source§impl Error for SignatureParseError
impl Error for SignatureParseError
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()
Auto Trait Implementations§
impl Freeze for SignatureParseError
impl RefUnwindSafe for SignatureParseError
impl Send for SignatureParseError
impl Sync for SignatureParseError
impl Unpin for SignatureParseError
impl UnsafeUnpin for SignatureParseError
impl UnwindSafe for SignatureParseError
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