pub enum ControlResponseError {
MalformedTlv,
WrongType(u64),
InvalidNonNegInt,
InvalidUtf8,
MissingField(&'static str),
}Variants§
Trait Implementations§
Source§impl Clone for ControlResponseError
impl Clone for ControlResponseError
Source§fn clone(&self) -> ControlResponseError
fn clone(&self) -> ControlResponseError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControlResponseError
impl Debug for ControlResponseError
Source§impl Display for ControlResponseError
impl Display for ControlResponseError
Source§impl Error for ControlResponseError
impl Error for ControlResponseError
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 ControlResponseError
impl PartialEq for ControlResponseError
impl Eq for ControlResponseError
impl StructuralPartialEq for ControlResponseError
Auto Trait Implementations§
impl Freeze for ControlResponseError
impl RefUnwindSafe for ControlResponseError
impl Send for ControlResponseError
impl Sync for ControlResponseError
impl Unpin for ControlResponseError
impl UnwindSafe for ControlResponseError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.