pub struct ConnectionInfo {
pub protocol: ConnectionProtocol,
pub cipher: ConnectionCipher,
pub cipher_strength: u32,
pub hash: ConnectionHash,
pub hash_strength: u32,
pub key_exchange: ConnectionKeyExchange,
pub exchange_strength: u32,
}Expand description
Fields§
§protocol: ConnectionProtocol§cipher: ConnectionCipher§cipher_strength: u32§hash: ConnectionHash§hash_strength: u32§key_exchange: ConnectionKeyExchange§exchange_strength: u32Trait Implementations§
Source§impl Clone for ConnectionInfo
impl Clone for ConnectionInfo
Source§fn clone(&self) -> ConnectionInfo
fn clone(&self) -> ConnectionInfo
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 ConnectionInfo
impl Debug for ConnectionInfo
Source§impl PartialEq for ConnectionInfo
impl PartialEq for ConnectionInfo
impl Eq for ConnectionInfo
impl StructuralPartialEq for ConnectionInfo
Auto Trait Implementations§
impl Freeze for ConnectionInfo
impl RefUnwindSafe for ConnectionInfo
impl Send for ConnectionInfo
impl Sync for ConnectionInfo
impl Unpin for ConnectionInfo
impl UnsafeUnpin for ConnectionInfo
impl UnwindSafe for ConnectionInfo
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