pub struct TelemetryRead<'a, T> {
pub frame: &'a T,
pub missed: u64,
}Expand description
A stable borrow of one frame, valid until the next mutable reader operation.
Holding this borrow never pins a ring slot or prevents overwrite. missed
counts locally overwritten unread frames, not missing source CopperLists.
Fields§
§frame: &'a T§missed: u64Auto Trait Implementations§
impl<'a, T> Freeze for TelemetryRead<'a, T>
impl<'a, T> RefUnwindSafe for TelemetryRead<'a, T>where
&'a T: RefUnwindSafe,
impl<'a, T> Send for TelemetryRead<'a, T>
impl<'a, T> Sync for TelemetryRead<'a, T>
impl<'a, T> Unpin for TelemetryRead<'a, T>
impl<'a, T> UnsafeUnpin for TelemetryRead<'a, T>where
&'a T: UnsafeUnpin,
impl<'a, T> UnwindSafe for TelemetryRead<'a, T>where
&'a T: UnwindSafe,
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
impl<T> GetTypeRegistration for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more