pub struct Unsupported {
pub capability: &'static str,
pub platform: &'static str,
pub because: &'static str,
}Expand description
A capability this platform does not have.
Adapters return this rather than quietly succeeding: a no-op adapter is
exactly how a security control becomes a rubber stamp, and it reads as
“working” in every test that only checks the Result. because is rendered
by hotl doctor, so write it for a human.
Fields§
§capability: &'static str§platform: &'static str§because: &'static strImplementations§
Trait Implementations§
Source§impl Clone for Unsupported
impl Clone for Unsupported
Source§fn clone(&self) -> Unsupported
fn clone(&self) -> Unsupported
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 Unsupported
impl Debug for Unsupported
Source§impl Display for Unsupported
impl Display for Unsupported
impl Eq for Unsupported
Source§impl Error for Unsupported
impl Error for Unsupported
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 From<Unsupported> for Error
impl From<Unsupported> for Error
Source§fn from(u: Unsupported) -> Self
fn from(u: Unsupported) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Unsupported
impl PartialEq for Unsupported
impl StructuralPartialEq for Unsupported
Auto Trait Implementations§
impl Freeze for Unsupported
impl RefUnwindSafe for Unsupported
impl Send for Unsupported
impl Sync for Unsupported
impl Unpin for Unsupported
impl UnsafeUnpin for Unsupported
impl UnwindSafe for Unsupported
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