#[repr(u8)]pub enum MessageKind {
SyncRequest = 1,
SyncResponse = 2,
BootstrapRequest = 3,
BootstrapResponse = 4,
SnapshotStreamRequest = 5,
SnapshotStreamResponse = 6,
PushHint = 7,
TransportError = 8,
}Expand description
Frame message discriminator.
Variants§
SyncRequest = 1
A synchronization request.
SyncResponse = 2
A synchronization response.
BootstrapRequest = 3
A bootstrap request.
BootstrapResponse = 4
A bootstrap response.
SnapshotStreamRequest = 5
A request for a sequence of bounded bootstrap pages.
SnapshotStreamResponse = 6
One page in a bounded bootstrap stream.
PushHint = 7
An advisory journal-advance notification.
TransportError = 8
A transport-level error encoded without domain payloads.
Trait Implementations§
Source§impl Clone for MessageKind
impl Clone for MessageKind
impl Copy for MessageKind
Source§impl Debug for MessageKind
impl Debug for MessageKind
impl Eq for MessageKind
Source§impl PartialEq for MessageKind
impl PartialEq for MessageKind
impl StructuralPartialEq for MessageKind
Auto Trait Implementations§
impl Freeze for MessageKind
impl RefUnwindSafe for MessageKind
impl Send for MessageKind
impl Sync for MessageKind
impl Unpin for MessageKind
impl UnsafeUnpin for MessageKind
impl UnwindSafe for MessageKind
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