pub enum Event {
EntityOnline(EntityId),
EntityChanged(EntityId),
EntityRestarted(EntityId),
EntityOffline(EntityId, OfflineReason),
EnumerationStarted(EntityId),
EntityEnumerated(EntityId),
EnumerationFailed(EntityId, EnumerationFailure),
EntityModelChanged(EntityId),
CommandFinished(CommandId, Outcome),
}Variants§
EntityOnline(EntityId)
A new entity, or one back after going offline.
EntityChanged(EntityId)
An entity advertised different capabilities, grandmaster, configuration or address.
EntityRestarted(EntityId)
An entity’s available_index went back, so it restarted; its model is read again.
EntityOffline(EntityId, OfflineReason)
EnumerationStarted(EntityId)
Reading an entity’s descriptors began.
EntityEnumerated(EntityId)
All of an entity’s descriptors that could be read were.
EnumerationFailed(EntityId, EnumerationFailure)
The ENTITY or CONFIGURATION descriptor could not be read.
EntityModelChanged(EntityId)
A descriptor read again after a notification changed, or a stream’s binding or info did.
CommandFinished(CommandId, Outcome)
A command the caller asked for finished.
Trait Implementations§
impl Copy for Event
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Forget for Event
impl Freeze for Event
impl Move for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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