pub struct Degradation {
pub tier: DeviceTier,
pub reasons: Vec<String>,
}Expand description
The resolved device tier and any unavailable requested capabilities.
Fields§
§tier: DeviceTierHighest tier supported by the observed route.
reasons: Vec<String>Human-readable explanations for unavailable requested capabilities.
Trait Implementations§
Source§impl Clone for Degradation
impl Clone for Degradation
Source§fn clone(&self) -> Degradation
fn clone(&self) -> Degradation
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 Degradation
impl Debug for Degradation
impl Eq for Degradation
Source§impl PartialEq for Degradation
impl PartialEq for Degradation
impl StructuralPartialEq for Degradation
Auto Trait Implementations§
impl Freeze for Degradation
impl RefUnwindSafe for Degradation
impl Send for Degradation
impl Sync for Degradation
impl Unpin for Degradation
impl UnsafeUnpin for Degradation
impl UnwindSafe for Degradation
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