pub struct StationSession {
pub profile: Profile,
pub negotiated: Negotiated,
pub challenge: Vec<u8>,
pub leaf: Vec<u8>,
pub puzzle_difficulty: u32,
pub puzzle_mode: PuzzleMode,
pub capabilities: u64,
pub now_ms: i64,
pub floor: Arc<Floor>,
pub export: Arc<Exporter>,
pub sign_session_proof: Arc<SessionProofSigner>,
}Expand description
What a station brings to a CONNECT check: its profile, the negotiation its challenge carried and the challenge bytes it sent, the leaf DER this connection presented, its puzzle difficulty and mode, its capability bits, the time in milliseconds, its floor per client, its TLS exporter, and its session proof signer.
Fields§
§profile: Profile§negotiated: Negotiated§challenge: Vec<u8>§leaf: Vec<u8>§puzzle_difficulty: u32§puzzle_mode: PuzzleMode§capabilities: u64§now_ms: i64§floor: Arc<Floor>§export: Arc<Exporter>§sign_session_proof: Arc<SessionProofSigner>Trait Implementations§
Source§impl Clone for StationSession
impl Clone for StationSession
Auto Trait Implementations§
impl !RefUnwindSafe for StationSession
impl !UnwindSafe for StationSession
impl Freeze for StationSession
impl Send for StationSession
impl Sync for StationSession
impl Unpin for StationSession
impl UnsafeUnpin for StationSession
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