pub enum NegotiationError {
Missing,
Unsupported(Vec<u8>),
}Expand description
Negotiated evidence did not select an enabled HTTP engine.
Variants§
Missing
The caller required a negotiated identifier but none was supplied.
Unsupported(Vec<u8>)
The peer selected an unsupported identifier. Retain its opaque bytes.
Trait Implementations§
Source§impl Clone for NegotiationError
impl Clone for NegotiationError
Source§impl Debug for NegotiationError
impl Debug for NegotiationError
Source§impl Display for NegotiationError
impl Display for NegotiationError
impl Eq for NegotiationError
Source§impl Error for NegotiationError
impl Error for NegotiationError
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 NegotiationError
impl PartialEq for NegotiationError
impl StructuralPartialEq for NegotiationError
Auto Trait Implementations§
impl Freeze for NegotiationError
impl RefUnwindSafe for NegotiationError
impl Send for NegotiationError
impl Sync for NegotiationError
impl Unpin for NegotiationError
impl UnsafeUnpin for NegotiationError
impl UnwindSafe for NegotiationError
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