#[repr(u16)]pub enum RecordKind {
OrdinaryRecord = 0,
Attached = 1,
Detached = 2,
Died = 3,
Left = 4,
HistoryCompacted = 5,
}Expand description
Participant delivery record-kind registry.
Variants§
OrdinaryRecord = 0
Ordinary application record.
Attached = 1
Participant attached.
Detached = 2
Binding detached cleanly or by supersession/shutdown.
Died = 3
Binding died unexpectedly.
Left = 4
Participant permanently left.
HistoryCompacted = 5
Retained history was explicitly compacted.
Implementations§
Source§impl RecordKind
impl RecordKind
Sourcepub const fn wire_value(self) -> u16
pub const fn wire_value(self) -> u16
Returns the stable v1 wire value.
Trait Implementations§
Source§impl Clone for RecordKind
impl Clone for RecordKind
Source§fn clone(&self) -> RecordKind
fn clone(&self) -> RecordKind
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 RecordKind
Source§impl Debug for RecordKind
impl Debug for RecordKind
impl Eq for RecordKind
Source§impl From<RecordKind> for u16
impl From<RecordKind> for u16
Source§fn from(value: RecordKind) -> Self
fn from(value: RecordKind) -> Self
Converts to this type from the input type.
Source§impl Hash for RecordKind
impl Hash for RecordKind
Source§impl PartialEq for RecordKind
impl PartialEq for RecordKind
impl StructuralPartialEq for RecordKind
Auto Trait Implementations§
impl Freeze for RecordKind
impl RefUnwindSafe for RecordKind
impl Send for RecordKind
impl Sync for RecordKind
impl Unpin for RecordKind
impl UnsafeUnpin for RecordKind
impl UnwindSafe for RecordKind
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