pub struct ClientSession<'a> {Show 13 fields
pub profile: Profile,
pub expected_node_id: [u8; 32],
pub leaf: &'a [u8],
pub identity_key: Vec<u8>,
pub connect_key: &'a NodeKey,
pub connect_binding: &'a SignedTbs,
pub connect_status: &'a SignedTbs,
pub capabilities: u64,
pub now_ms: i64,
pub member_endorsement: Vec<u8>,
pub ranges: Ranges,
pub floor: &'a Floor,
pub export: &'a Exporter,
}Expand description
What a client brings to a handshake: its profile, the node_id it dialed, the leaf DER it received in this TLS handshake, its carried identity key, its CONNECT key with binding and status statement, its capability bits, the time in milliseconds, the realm membership endorsement CONNECT carries (empty for a node that holds none), the ranges its opener carried, its floor per station, and this connection’s TLS exporter.
Fields§
§profile: Profile§expected_node_id: [u8; 32]§leaf: &'a [u8]§identity_key: Vec<u8>§connect_key: &'a NodeKey§connect_binding: &'a SignedTbs§connect_status: &'a SignedTbs§capabilities: u64§now_ms: i64§member_endorsement: Vec<u8>§ranges: Ranges§floor: &'a Floor§export: &'a ExporterAuto Trait Implementations§
impl<'a> !RefUnwindSafe for ClientSession<'a>
impl<'a> !UnwindSafe for ClientSession<'a>
impl<'a> Freeze for ClientSession<'a>
impl<'a> Send for ClientSession<'a>
impl<'a> Sync for ClientSession<'a>
impl<'a> Unpin for ClientSession<'a>
impl<'a> UnsafeUnpin for ClientSession<'a>
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