pub struct SessionConfig {
pub default_ttl: u8,
pub pending_packets_per_dest: usize,
pub pending_max_destinations: usize,
pub idle_timeout_secs: u64,
pub coords_warmup_packets: u8,
pub coords_response_interval_ms: u64,
}Expand description
Session/data plane (node.session.*).
Fields§
§default_ttl: u8Default SessionDatagram TTL (node.session.default_ttl).
pending_packets_per_dest: usizeQueue depth per dest during session establishment (node.session.pending_packets_per_dest).
pending_max_destinations: usizeMax destinations with pending packets (node.session.pending_max_destinations).
idle_timeout_secs: u64Idle session timeout in seconds (node.session.idle_timeout_secs).
Established sessions with no application data for this duration are
removed. MMP reports do not count as activity for this timer.
coords_warmup_packets: u8Number of initial data packets per session that include COORDS_PRESENT
for transit cache warmup (node.session.coords_warmup_packets).
Also used as the reset count on CoordsRequired receipt.
coords_response_interval_ms: u64Minimum interval (ms) between standalone CoordsWarmup responses to
CoordsRequired/PathBroken signals, per destination
(node.session.coords_response_interval_ms).
Trait Implementations§
Source§impl Clone for SessionConfig
impl Clone for SessionConfig
Source§fn clone(&self) -> SessionConfig
fn clone(&self) -> SessionConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SessionConfig
impl Debug for SessionConfig
Source§impl Default for SessionConfig
impl Default for SessionConfig
Source§impl<'de> Deserialize<'de> for SessionConfig
impl<'de> Deserialize<'de> for SessionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for SessionConfig
impl RefUnwindSafe for SessionConfig
impl Send for SessionConfig
impl Sync for SessionConfig
impl Unpin for SessionConfig
impl UnsafeUnpin for SessionConfig
impl UnwindSafe for SessionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more