pub struct HandshakeInfo {
pub authenticated: bool,
pub capabilities: Vec<String>,
}Expand description
What the handshake learned about this connection (CLT-002).
Fields§
§authenticated: booltrue once the server accepted the credentials (AUTH succeeded
or the HELLO reply said so).
capabilities: Vec<String>Capability names from the HELLO reply (HelloMandatory).
Trait Implementations§
Source§impl Clone for HandshakeInfo
impl Clone for HandshakeInfo
Source§fn clone(&self) -> HandshakeInfo
fn clone(&self) -> HandshakeInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HandshakeInfo
impl Debug for HandshakeInfo
Source§impl Default for HandshakeInfo
impl Default for HandshakeInfo
Source§fn default() -> HandshakeInfo
fn default() -> HandshakeInfo
Returns the “default value” for a type. Read more
impl Eq for HandshakeInfo
Source§impl PartialEq for HandshakeInfo
impl PartialEq for HandshakeInfo
impl StructuralPartialEq for HandshakeInfo
Auto Trait Implementations§
impl Freeze for HandshakeInfo
impl RefUnwindSafe for HandshakeInfo
impl Send for HandshakeInfo
impl Sync for HandshakeInfo
impl Unpin for HandshakeInfo
impl UnsafeUnpin for HandshakeInfo
impl UnwindSafe for HandshakeInfo
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