pub enum ProviderV2Event {
OnSaveBuffer {
wrapped_count: u32,
durable_data_end: u64,
},
OnAlert {
name: String,
},
#[non_exhaustive] _UnknownEvent {
ordinal: u64,
},
}Variants§
Implementations§
Source§impl ProviderV2Event
impl ProviderV2Event
pub fn into_on_save_buffer(self) -> Option<(u32, u64)>
pub fn into_on_alert(self) -> Option<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProviderV2Event
impl RefUnwindSafe for ProviderV2Event
impl Send for ProviderV2Event
impl Sync for ProviderV2Event
impl Unpin for ProviderV2Event
impl UnsafeUnpin for ProviderV2Event
impl UnwindSafe for ProviderV2Event
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