pub struct FleetEvent<PlcId> {
pub plc_id: PlcId,
pub event: ConnectionEvent,
}Expand description
Fleet-level connection event annotated with the PLC identifier.
Fields§
§plc_id: PlcId§event: ConnectionEventTrait Implementations§
Source§impl<PlcId: Clone> Clone for FleetEvent<PlcId>
impl<PlcId: Clone> Clone for FleetEvent<PlcId>
Source§fn clone(&self) -> FleetEvent<PlcId>
fn clone(&self) -> FleetEvent<PlcId>
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 moreSource§impl<PlcId: Debug> Debug for FleetEvent<PlcId>
impl<PlcId: Debug> Debug for FleetEvent<PlcId>
Source§impl<PlcId: PartialEq> PartialEq for FleetEvent<PlcId>
impl<PlcId: PartialEq> PartialEq for FleetEvent<PlcId>
Source§fn eq(&self, other: &FleetEvent<PlcId>) -> bool
fn eq(&self, other: &FleetEvent<PlcId>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<PlcId: Eq> Eq for FleetEvent<PlcId>
impl<PlcId> StructuralPartialEq for FleetEvent<PlcId>
Auto Trait Implementations§
impl<PlcId> Freeze for FleetEvent<PlcId>where
PlcId: Freeze,
impl<PlcId> RefUnwindSafe for FleetEvent<PlcId>where
PlcId: RefUnwindSafe,
impl<PlcId> Send for FleetEvent<PlcId>where
PlcId: Send,
impl<PlcId> Sync for FleetEvent<PlcId>where
PlcId: Sync,
impl<PlcId> Unpin for FleetEvent<PlcId>where
PlcId: Unpin,
impl<PlcId> UnsafeUnpin for FleetEvent<PlcId>where
PlcId: UnsafeUnpin,
impl<PlcId> UnwindSafe for FleetEvent<PlcId>where
PlcId: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.