pub enum SourceEvent {
OnBufferInit {
latest: Vmo,
},
OnBufferDone {
buffer: u64,
},
}
Variants§
Implementations§
source§impl SourceEvent
impl SourceEvent
pub fn into_on_buffer_init(self) -> Option<Vmo>
pub fn into_on_buffer_done(self) -> Option<u64>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SourceEvent
impl Send for SourceEvent
impl Sync for SourceEvent
impl Unpin for SourceEvent
impl UnwindSafe for SourceEvent
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