pub enum AuthMethodData {
None,
Password {
password: Vec<u8>,
},
PublicKey {
has_signature: bool,
algorithm: Vec<u8>,
public_key: Vec<u8>,
signature: Vec<u8>,
},
}Expand description
Method-specific authentication data
Variants§
None
No additional data
Password
Password authentication data
Fields
§
password: Vec<u8>The password
PublicKey
Public key authentication data
Trait Implementations§
Source§impl Clone for AuthMethodData
impl Clone for AuthMethodData
Source§fn clone(&self) -> AuthMethodData
fn clone(&self) -> AuthMethodData
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthMethodData
impl Debug for AuthMethodData
Source§impl PartialEq for AuthMethodData
impl PartialEq for AuthMethodData
impl Eq for AuthMethodData
impl StructuralPartialEq for AuthMethodData
Auto Trait Implementations§
impl Freeze for AuthMethodData
impl RefUnwindSafe for AuthMethodData
impl Send for AuthMethodData
impl Sync for AuthMethodData
impl Unpin for AuthMethodData
impl UnwindSafe for AuthMethodData
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)