pub enum ParseHelloError {
NotAHelloFrame,
MissingField(&'static str),
WrongFieldType(&'static str),
}Variants§
Trait Implementations§
Source§impl Debug for ParseHelloError
impl Debug for ParseHelloError
Source§impl Display for ParseHelloError
impl Display for ParseHelloError
impl Eq for ParseHelloError
Source§impl Error for ParseHelloError
impl Error for ParseHelloError
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 PartialEq for ParseHelloError
impl PartialEq for ParseHelloError
impl StructuralPartialEq for ParseHelloError
Auto Trait Implementations§
impl Freeze for ParseHelloError
impl RefUnwindSafe for ParseHelloError
impl Send for ParseHelloError
impl Sync for ParseHelloError
impl Unpin for ParseHelloError
impl UnsafeUnpin for ParseHelloError
impl UnwindSafe for ParseHelloError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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