#[repr(u32)]pub enum SpectreResultType {
MaximumSecurityPassword = 65_536,
LongPassword = 65_537,
MediumPassword = 65_538,
BasicPassword = 65_540,
ShortPassword = 65_539,
PIN = 65_541,
Name = 65_542,
Phrase = 65_543,
PersonalPassword = 131_072,
DeriveKey = 131_073,
None = 0,
}Variants§
MaximumSecurityPassword = 65_536
LongPassword = 65_537
MediumPassword = 65_538
BasicPassword = 65_540
ShortPassword = 65_539
PIN = 65_541
Name = 65_542
Phrase = 65_543
PersonalPassword = 131_072
DeriveKey = 131_073
None = 0
Implementations§
Source§impl SpectreResultType
impl SpectreResultType
pub fn short_name(&self) -> &'static str
pub fn is_stateful(&self) -> bool
pub fn template(&self) -> &'static [&'static str]
Trait Implementations§
Source§impl Clone for SpectreResultType
impl Clone for SpectreResultType
Source§fn clone(&self) -> SpectreResultType
fn clone(&self) -> SpectreResultType
Returns a duplicate of the value. Read more
1.0.0 · 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 SpectreResultType
impl Debug for SpectreResultType
Source§impl Default for SpectreResultType
impl Default for SpectreResultType
Source§fn default() -> SpectreResultType
fn default() -> SpectreResultType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpectreResultType
impl<'de> Deserialize<'de> for SpectreResultType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for SpectreResultType
impl FromStr for SpectreResultType
Source§impl PartialEq for SpectreResultType
impl PartialEq for SpectreResultType
Source§impl Serialize for SpectreResultType
impl Serialize for SpectreResultType
impl Copy for SpectreResultType
impl Eq for SpectreResultType
impl StructuralPartialEq for SpectreResultType
Auto Trait Implementations§
impl Freeze for SpectreResultType
impl RefUnwindSafe for SpectreResultType
impl Send for SpectreResultType
impl Sync for SpectreResultType
impl Unpin for SpectreResultType
impl UnwindSafe for SpectreResultType
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