#[non_exhaustive]pub enum DiscoveryDefect {
ArraySpanOverflow,
NullArray,
}Expand description
The malformed native discovery data.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for DiscoveryDefect
impl Clone for DiscoveryDefect
impl Copy for DiscoveryDefect
Source§impl Debug for DiscoveryDefect
impl Debug for DiscoveryDefect
Source§impl Display for DiscoveryDefect
impl Display for DiscoveryDefect
impl Eq for DiscoveryDefect
Source§impl Error for DiscoveryDefect
impl Error for DiscoveryDefect
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 Hash for DiscoveryDefect
impl Hash for DiscoveryDefect
Source§impl PartialEq for DiscoveryDefect
impl PartialEq for DiscoveryDefect
impl StructuralPartialEq for DiscoveryDefect
Auto Trait Implementations§
impl Freeze for DiscoveryDefect
impl RefUnwindSafe for DiscoveryDefect
impl Send for DiscoveryDefect
impl Sync for DiscoveryDefect
impl Unpin for DiscoveryDefect
impl UnsafeUnpin for DiscoveryDefect
impl UnwindSafe for DiscoveryDefect
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