pub struct UnknownSkippableEvent { /* private fields */ }Expand description
Validated common fields retained when skipping an unknown observation.
Implementations§
Source§impl UnknownSkippableEvent
impl UnknownSkippableEvent
Sourcepub fn event_type(&self) -> &str
pub fn event_type(&self) -> &str
Returns the unknown canonical discriminator for bounded diagnostics.
Sourcepub const fn protocol_version(&self) -> ProtocolVersion
pub const fn protocol_version(&self) -> ProtocolVersion
Returns the event’s protocol version.
Sourcepub const fn sequence(&self) -> SessionSequence
pub const fn sequence(&self) -> SessionSequence
Returns the authoritative sequence that observers must still advance.
Sourcepub const fn session_id(&self) -> SessionId
pub const fn session_id(&self) -> SessionId
Returns the session identifier.
Sourcepub const fn turn_id(&self) -> Option<TurnId>
pub const fn turn_id(&self) -> Option<TurnId>
Returns the related turn identifier when present.
Sourcepub const fn timestamp(&self) -> ProtocolTimestamp
pub const fn timestamp(&self) -> ProtocolTimestamp
Returns the event timestamp.
Trait Implementations§
Source§impl Clone for UnknownSkippableEvent
impl Clone for UnknownSkippableEvent
Source§fn clone(&self) -> UnknownSkippableEvent
fn clone(&self) -> UnknownSkippableEvent
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 Debug for UnknownSkippableEvent
impl Debug for UnknownSkippableEvent
impl Eq for UnknownSkippableEvent
Source§impl PartialEq for UnknownSkippableEvent
impl PartialEq for UnknownSkippableEvent
impl StructuralPartialEq for UnknownSkippableEvent
Auto Trait Implementations§
impl Freeze for UnknownSkippableEvent
impl RefUnwindSafe for UnknownSkippableEvent
impl Send for UnknownSkippableEvent
impl Sync for UnknownSkippableEvent
impl Unpin for UnknownSkippableEvent
impl UnsafeUnpin for UnknownSkippableEvent
impl UnwindSafe for UnknownSkippableEvent
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