pub enum SecurityInfo {
Community(String),
V3 {
username: String,
auth_protocol: Option<String>,
priv_protocol: Option<String>,
},
}Expand description
Security info for verbose output.
Variants§
Trait Implementations§
Source§impl Clone for SecurityInfo
impl Clone for SecurityInfo
Source§fn clone(&self) -> SecurityInfo
fn clone(&self) -> SecurityInfo
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 moreAuto Trait Implementations§
impl Freeze for SecurityInfo
impl RefUnwindSafe for SecurityInfo
impl Send for SecurityInfo
impl Sync for SecurityInfo
impl Unpin for SecurityInfo
impl UnwindSafe for SecurityInfo
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