pub enum RnsInterfaceStatsDecodeError {
Show 13 variants
InvalidMessagePack,
ExpectedReportMap,
ExpectedRemoteResponseArray,
EmptyRemoteResponse,
ExpectedInterfacesArray,
ExpectedInterfaceMap {
index: usize,
},
InvalidMapKey {
scope: RnsStatsFieldScope,
},
MissingField(RnsStatsFieldPath),
DuplicateField(RnsStatsFieldPath),
InvalidFieldType(RnsStatsFieldPath),
InvalidHashLength {
path: RnsStatsFieldPath,
expected: usize,
actual: usize,
},
AllocationFailed {
entries: usize,
},
TrailingData,
}Variants§
InvalidMessagePack
ExpectedReportMap
ExpectedRemoteResponseArray
EmptyRemoteResponse
ExpectedInterfacesArray
ExpectedInterfaceMap
InvalidMapKey
Fields
§
scope: RnsStatsFieldScopeMissingField(RnsStatsFieldPath)
DuplicateField(RnsStatsFieldPath)
InvalidFieldType(RnsStatsFieldPath)
InvalidHashLength
AllocationFailed
TrailingData
Trait Implementations§
Source§impl Clone for RnsInterfaceStatsDecodeError
impl Clone for RnsInterfaceStatsDecodeError
Source§fn clone(&self) -> RnsInterfaceStatsDecodeError
fn clone(&self) -> RnsInterfaceStatsDecodeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RnsInterfaceStatsDecodeError
impl Debug for RnsInterfaceStatsDecodeError
impl Eq for RnsInterfaceStatsDecodeError
Source§impl Error for RnsInterfaceStatsDecodeError
Available on crate feature std only.
impl Error for RnsInterfaceStatsDecodeError
Available on crate feature
std only.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()
impl StructuralPartialEq for RnsInterfaceStatsDecodeError
Auto Trait Implementations§
impl Freeze for RnsInterfaceStatsDecodeError
impl RefUnwindSafe for RnsInterfaceStatsDecodeError
impl Send for RnsInterfaceStatsDecodeError
impl Sync for RnsInterfaceStatsDecodeError
impl Unpin for RnsInterfaceStatsDecodeError
impl UnsafeUnpin for RnsInterfaceStatsDecodeError
impl UnwindSafe for RnsInterfaceStatsDecodeError
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