Enum webauthn_rs_core::proto::ExtnState
source · pub enum ExtnState<T>where
T: Clone + Debug,{
NotRequested,
Ignored,
Set(T),
Unsolicited(T),
Unsigned(T),
}Expand description
The result state of an extension as returned from the authenticator.
Variants§
NotRequested
This extension was not requested, and so no result was provided.
Ignored
The extension was requested, and the authenticator did NOT act on it.
Set(T)
The extension was requested, and the authenticator correctly responded.
Unsolicited(T)
The extension was not requested, and the authenticator sent an unsolicited extension value.
Unsigned(T)
⚠️ WARNING: The data in this extension is not signed cryptographically, and can not be trusted for security assertions. It MAY be used for UI/UX hints.
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for ExtnState<T>where
T: Clone + Debug + Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ExtnState<T>where T: Clone + Debug + Deserialize<'de>,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ExtnState<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ExtnState<T>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<T> RefUnwindSafe for ExtnState<T>where T: RefUnwindSafe,
impl<T> Send for ExtnState<T>where T: Send,
impl<T> Sync for ExtnState<T>where T: Sync,
impl<T> Unpin for ExtnState<T>where T: Unpin,
impl<T> UnwindSafe for ExtnState<T>where T: UnwindSafe,
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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