pub struct OwnedCopyEvent { /* private fields */ }Expand description
An owned copy event contains a Box containing copied data from the RingBufItem. This allows
working with the data why freeing up capacity for the aya::maps::RingBuf.
Implementations§
Source§impl OwnedCopyEvent
impl OwnedCopyEvent
Trait Implementations§
Source§impl AsRef<[u8]> for OwnedCopyEvent
impl AsRef<[u8]> for OwnedCopyEvent
Source§impl Clone for OwnedCopyEvent
impl Clone for OwnedCopyEvent
Source§fn clone(&self) -> OwnedCopyEvent
fn clone(&self) -> OwnedCopyEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OwnedCopyEvent
impl RefUnwindSafe for OwnedCopyEvent
impl Send for OwnedCopyEvent
impl Sync for OwnedCopyEvent
impl Unpin for OwnedCopyEvent
impl UnsafeUnpin for OwnedCopyEvent
impl UnwindSafe for OwnedCopyEvent
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