#[non_exhaustive]pub struct CommsEvent {
pub address: String,
pub kind: CommsEventKind,
pub command: Option<String>,
pub attempt: u32,
pub elapsed_ms: u64,
pub detail: Option<String>,
}Expand description
A single communication event for observer push and tracing.
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.address: String§kind: CommsEventKind§command: Option<String>§attempt: u32§elapsed_ms: u64§detail: Option<String>Trait Implementations§
Source§impl Clone for CommsEvent
impl Clone for CommsEvent
Source§impl Debug for CommsEvent
impl Debug for CommsEvent
Source§impl<'de> Deserialize<'de> for CommsEvent
impl<'de> Deserialize<'de> for CommsEvent
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CommsEvent
Source§impl PartialEq for CommsEvent
impl PartialEq for CommsEvent
Source§impl Serialize for CommsEvent
impl Serialize for CommsEvent
impl StructuralPartialEq for CommsEvent
Auto Trait Implementations§
impl Freeze for CommsEvent
impl RefUnwindSafe for CommsEvent
impl Send for CommsEvent
impl Sync for CommsEvent
impl Unpin for CommsEvent
impl UnsafeUnpin for CommsEvent
impl UnwindSafe for CommsEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.