pub struct CasStatus {
pub cas: CasRef,
pub name: String,
pub state: CasState,
pub last_error: Option<CasError>,
pub connects: u64,
pub streams: Vec<StreamStatus>,
}Expand description
State of one CAS channel for diagnostics and monitoring (Simulcrypt::status).
Fields§
§cas: CasRefChannel this entry describes.
name: StringChannel name from CasConfig::name.
state: CasStateCurrent ECMG connection state.
last_error: Option<CasError>Last ECMG error. state passes Error on its way to a reconnect; this keeps it after the
connection recovers.
connects: u64Completed ECMG handshakes since the CAS was registered; more than one means the channel reconnected.
streams: Vec<StreamStatus>Streams currently open on the channel.
Trait Implementations§
Auto Trait Implementations§
impl Forget for CasStatus
impl Freeze for CasStatus
impl Move for CasStatus
impl RefUnwindSafe for CasStatus
impl Send for CasStatus
impl Sync for CasStatus
impl Unpin for CasStatus
impl UnsafeUnpin for CasStatus
impl UnwindSafe for CasStatus
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