#[non_exhaustive]pub struct TestSession {Show 16 fields
pub name: String,
pub data_size: Option<String>,
pub destination_port: Option<String>,
pub dscp_code_points: Option<String>,
pub history_size: Option<String>,
pub moving_average_size: Option<String>,
pub offload_type: Option<String>,
pub probe_count: Option<String>,
pub probe_interval: Option<String>,
pub source_address: Option<String>,
pub source_routing: Option<TwampSourceRouting>,
pub target_address: Option<String>,
pub target_local_link: Option<String>,
pub thresholds: TwampThresholds,
pub traps: Vec<String>,
pub ttl: Option<String>,
}Expand description
A test-session <name>.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§data_size: Option<String>§destination_port: Option<String>§dscp_code_points: Option<String>§history_size: Option<String>§moving_average_size: Option<String>§offload_type: Option<String>"inline-timestamping", "none" or "pfe-timestamp".
probe_count: Option<String>§probe_interval: Option<String>§source_address: Option<String>§source_routing: Option<TwampSourceRouting>§target_address: Option<String>The target address of the server.
target_local_link: Option<String>The interface after local-link of an IPv6 link-local target.
thresholds: TwampThresholds§traps: Vec<String>The traps, e.g. "rtt-exceeded".
ttl: Option<String>Trait Implementations§
Source§impl Clone for TestSession
impl Clone for TestSession
Source§impl Debug for TestSession
impl Debug for TestSession
impl Eq for TestSession
Source§impl PartialEq for TestSession
impl PartialEq for TestSession
impl StructuralPartialEq for TestSession
Auto Trait Implementations§
impl Forget for TestSession
impl Freeze for TestSession
impl Move for TestSession
impl RefUnwindSafe for TestSession
impl Send for TestSessionwhere
RawVecInner: Send,
impl Sync for TestSessionwhere
RawVecInner: Sync,
impl Unpin for TestSession
impl UnsafeUnpin for TestSessionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for TestSessionwhere
RawVecInner: UnwindSafe,
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