pub enum DecodedNotification {
Event(BoardEvent),
RealtimeUpdatesAcknowledged,
}Expand description
A protocol notification decoded by a board session.
Control acknowledgements are represented separately because they are part of session management rather than observable board state.
The event variant is intentionally stored inline to keep notification
decoding available without alloc.
Variants§
Event(BoardEvent)
A notification that represents observable board data.
RealtimeUpdatesAcknowledged
The board acknowledged the realtime-update command.
Sessions consume this acknowledgement after sending
Command::enable_realtime_updates.
Trait Implementations§
Source§impl Clone for DecodedNotification
impl Clone for DecodedNotification
Source§fn clone(&self) -> DecodedNotification
fn clone(&self) -> DecodedNotification
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 DecodedNotification
Source§impl Debug for DecodedNotification
impl Debug for DecodedNotification
impl Eq for DecodedNotification
Source§impl PartialEq for DecodedNotification
impl PartialEq for DecodedNotification
impl StructuralPartialEq for DecodedNotification
Auto Trait Implementations§
impl Freeze for DecodedNotification
impl RefUnwindSafe for DecodedNotification
impl Send for DecodedNotification
impl Sync for DecodedNotification
impl Unpin for DecodedNotification
impl UnsafeUnpin for DecodedNotification
impl UnwindSafe for DecodedNotification
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