pub struct PasswordAlgorithms(pub Vec<PasswordAlgorithm>);Expand description
The PASSWORD-ALGORITHMS attribute: the algorithms a server can derive the long-term key
with, in its order of preference.
Tuple Fields§
§0: Vec<PasswordAlgorithm>Implementations§
Source§impl PasswordAlgorithms
impl PasswordAlgorithms
Sourcepub fn first_supported(&self, supported: &[u16]) -> Option<&PasswordAlgorithm>
pub fn first_supported(&self, supported: &[u16]) -> Option<&PasswordAlgorithm>
The first algorithm of the list whose number is in supported (RFC 8489 section
9.2.5: “the first algorithm supported on the list”), with the parameters the server
gave it.
Trait Implementations§
Source§impl Clone for PasswordAlgorithms
impl Clone for PasswordAlgorithms
Source§impl Debug for PasswordAlgorithms
impl Debug for PasswordAlgorithms
Source§impl Default for PasswordAlgorithms
impl Default for PasswordAlgorithms
impl Eq for PasswordAlgorithms
Source§impl Getter for PasswordAlgorithms
impl Getter for PasswordAlgorithms
Source§impl PartialEq for PasswordAlgorithms
impl PartialEq for PasswordAlgorithms
Source§impl Setter for PasswordAlgorithms
impl Setter for PasswordAlgorithms
impl StructuralPartialEq for PasswordAlgorithms
Auto Trait Implementations§
impl Forget for PasswordAlgorithms
impl Freeze for PasswordAlgorithms
impl Move for PasswordAlgorithms
impl RefUnwindSafe for PasswordAlgorithms
impl Send for PasswordAlgorithmswhere
RawVecInner: Send,
impl Sync for PasswordAlgorithmswhere
RawVecInner: Sync,
impl Unpin for PasswordAlgorithms
impl UnsafeUnpin for PasswordAlgorithms
impl UnwindSafe for PasswordAlgorithmswhere
RawVecInner: UnwindSafe,
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