Struct FrameEventRead
pub struct FrameEventRead<'a, T> {
pub events: &'a [T],
pub status: FrameReaderStatus,
}Expand description
Borrowed events in send order, accompanied by the status before the read.
status.unread_events includes any tail left by a limited read. The returned
slice has already been acknowledged by the cursor, even if it is not iterated.
Fields§
§events: &'a [T]The selected unread events; no events are removed from the buffer.
status: FrameReaderStatusLoss and availability before advancing the cursor.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for FrameEventRead<'a, T>
impl<'a, T> RefUnwindSafe for FrameEventRead<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for FrameEventRead<'a, T>where
T: Sync,
impl<'a, T> Sync for FrameEventRead<'a, T>where
T: Sync,
impl<'a, T> Unpin for FrameEventRead<'a, T>
impl<'a, T> UnwindSafe for FrameEventRead<'a, T>where
T: RefUnwindSafe,
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