pub enum Event<'a> {
Hello {
request_id: u64,
version: u32,
},
Ack {
request_id: u64,
session_id: Option<u64>,
},
Error {
request_id: Option<u64>,
session_id: Option<u64>,
message: String,
},
Snapshot {
session_id: u64,
revision: u64,
snapshot: SnapshotData<'a>,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Event<'a>
impl<'a> Freeze for Event<'a>
impl<'a> Move for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>where
String: RefUnwindSafe,
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnsafeUnpin for Event<'a>where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'a str: UnsafeUnpin,
PhantomData<Match<'a>>: UnsafeUnpin,
impl<'a> UnwindSafe for Event<'a>where
RawVecInner: UnwindSafe,
&'a str: UnwindSafe,
String: UnwindSafe,
&'a MatchKind: UnwindSafe,
&'a [(usize, usize)]: UnwindSafe,
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