pub struct DiagnosticCapabilityGuardError { /* private fields */ }Expand description
Error returned when a diagnostic operation is not explicitly available.
Implementations§
Source§impl DiagnosticCapabilityGuardError
impl DiagnosticCapabilityGuardError
Sourcepub const fn capability(&self) -> DiagnosticCapability
pub const fn capability(&self) -> DiagnosticCapability
Diagnostic operation rejected by the guard.
Sourcepub const fn availability(&self) -> CapabilityAvailability
pub const fn availability(&self) -> CapabilityAvailability
Effective support classification that caused the rejection.
Trait Implementations§
Source§impl Clone for DiagnosticCapabilityGuardError
impl Clone for DiagnosticCapabilityGuardError
Source§fn clone(&self) -> DiagnosticCapabilityGuardError
fn clone(&self) -> DiagnosticCapabilityGuardError
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 moreimpl Eq for DiagnosticCapabilityGuardError
Source§impl Error for DiagnosticCapabilityGuardError
impl Error for DiagnosticCapabilityGuardError
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 DiagnosticCapabilityGuardError
Auto Trait Implementations§
impl Freeze for DiagnosticCapabilityGuardError
impl RefUnwindSafe for DiagnosticCapabilityGuardError
impl Send for DiagnosticCapabilityGuardError
impl Sync for DiagnosticCapabilityGuardError
impl Unpin for DiagnosticCapabilityGuardError
impl UnsafeUnpin for DiagnosticCapabilityGuardError
impl UnwindSafe for DiagnosticCapabilityGuardError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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