pub struct HolosonicTelemetryBus {
pub tokens: [HolosonicSonicToken48; 64],
pub write_idx: usize,
pub read_idx: usize,
pub count: usize,
}Expand description
Bus 4: Fixed-capacity ring buffer of 48-byte HolosonicSonicToken48 telemetry tokens.
Fields§
§tokens: [HolosonicSonicToken48; 64]§write_idx: usize§read_idx: usize§count: usizeImplementations§
Source§impl HolosonicTelemetryBus
impl HolosonicTelemetryBus
Sourcepub fn push(&mut self, token48: HolosonicSonicToken48, packed64: SonicToken)
pub fn push(&mut self, token48: HolosonicSonicToken48, packed64: SonicToken)
Pushes a 48-byte HolosonicSonicToken48 into the local ring and forwards the packed
64-bit SonicToken to the process-global U3 [SonicTokenRing].
Sourcepub fn pop(&mut self) -> Option<HolosonicSonicToken48>
pub fn pop(&mut self) -> Option<HolosonicSonicToken48>
Pops the oldest 48-byte HolosonicSonicToken48 from the telemetry ring.
Trait Implementations§
Source§impl Clone for HolosonicTelemetryBus
impl Clone for HolosonicTelemetryBus
Source§impl Debug for HolosonicTelemetryBus
impl Debug for HolosonicTelemetryBus
Auto Trait Implementations§
impl Freeze for HolosonicTelemetryBus
impl RefUnwindSafe for HolosonicTelemetryBus
impl Send for HolosonicTelemetryBus
impl Sync for HolosonicTelemetryBus
impl Unpin for HolosonicTelemetryBus
impl UnsafeUnpin for HolosonicTelemetryBus
impl UnwindSafe for HolosonicTelemetryBus
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.