pub enum PrimaryEvent {
OnNotifyMessagesConsumed {
count: u64,
},
OnNotifyMemoryImported {
bytes: u64,
},
}
Variants§
Implementations§
Source§impl PrimaryEvent
impl PrimaryEvent
pub fn into_on_notify_messages_consumed(self) -> Option<u64>
pub fn into_on_notify_memory_imported(self) -> Option<u64>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrimaryEvent
impl RefUnwindSafe for PrimaryEvent
impl Send for PrimaryEvent
impl Sync for PrimaryEvent
impl Unpin for PrimaryEvent
impl UnwindSafe for PrimaryEvent
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