pub enum SessionEndReason {
TestComplete,
Cancelled,
NoTestComplete,
}Expand description
Reason a managed client session ended.
Variants§
TestComplete
The negotiated finite test duration completed and the client closed the session normally.
Cancelled
Cancellation was requested through ManagedClientSession::stop or by
dropping the session handle.
NoTestComplete
The session was opened in RunMode::NoTest and
completed after negotiation.
Trait Implementations§
Source§impl Clone for SessionEndReason
impl Clone for SessionEndReason
Source§fn clone(&self) -> SessionEndReason
fn clone(&self) -> SessionEndReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SessionEndReason
Source§impl Debug for SessionEndReason
impl Debug for SessionEndReason
impl Eq for SessionEndReason
Source§impl PartialEq for SessionEndReason
impl PartialEq for SessionEndReason
Source§fn eq(&self, other: &SessionEndReason) -> bool
fn eq(&self, other: &SessionEndReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionEndReason
Auto Trait Implementations§
impl Freeze for SessionEndReason
impl RefUnwindSafe for SessionEndReason
impl Send for SessionEndReason
impl Sync for SessionEndReason
impl Unpin for SessionEndReason
impl UnsafeUnpin for SessionEndReason
impl UnwindSafe for SessionEndReason
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