#[non_exhaustive]pub struct ControlConnection {
pub name: String,
pub control_type: Option<String>,
pub destination_port: Option<String>,
pub routing_instance: Option<String>,
pub source_address: Option<String>,
pub target_address: Option<String>,
pub test_interval: Option<String>,
pub test_start: Option<String>,
pub traps: Vec<String>,
pub test_sessions: Vec<TestSession>,
}Expand description
A control-connection <name>, which holds the test sessions run against one server.
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§control_type: Option<String>"managed" or "light".
destination_port: Option<String>§routing_instance: Option<String>§source_address: Option<String>§target_address: Option<String>The target address of the server.
test_interval: Option<String>§test_start: Option<String>"auto" or "manual".
traps: Vec<String>The traps, e.g. "test-iteration-done".
test_sessions: Vec<TestSession>Trait Implementations§
Source§impl Clone for ControlConnection
impl Clone for ControlConnection
Source§impl Debug for ControlConnection
impl Debug for ControlConnection
impl Eq for ControlConnection
Source§impl PartialEq for ControlConnection
impl PartialEq for ControlConnection
impl StructuralPartialEq for ControlConnection
Auto Trait Implementations§
impl Forget for ControlConnection
impl Freeze for ControlConnectionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<TestSession>: Freeze,
impl Move for ControlConnection
impl RefUnwindSafe for ControlConnection
impl Send for ControlConnectionwhere
RawVecInner: Send,
impl Sync for ControlConnectionwhere
RawVecInner: Sync,
impl Unpin for ControlConnection
impl UnsafeUnpin for ControlConnectionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<TestSession>: UnsafeUnpin,
impl UnwindSafe for ControlConnectionwhere
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