pub enum RequestParseError {
NeedMoreData,
Invalid(Error),
}
Variants§
Trait Implementations§
source§impl Debug for RequestParseError
impl Debug for RequestParseError
source§impl Display for RequestParseError
impl Display for RequestParseError
source§impl Error for RequestParseError
impl Error for RequestParseError
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
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 !RefUnwindSafe for RequestParseError
impl Send for RequestParseError
impl Sync for RequestParseError
impl Unpin for RequestParseError
impl !UnwindSafe for RequestParseError
Blanket Implementations§
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more