pub struct FeedbackReporter {
pub requirements: FeedbackRequirements,
/* private fields */
}Expand description
Receiver-side cadence and identity. The caller gathers counters from its router and attempts one datagram send; backpressure never queues feedback history.
Fields§
§requirements: FeedbackRequirementsImplementations§
Source§impl FeedbackReporter
impl FeedbackReporter
pub fn new( manifest: &SessionManifest, receiver_id: [u8; 16], now: CuTime, ) -> Option<Self>
pub fn report( &mut self, now: CuTime, counters: ReceiverReport, ) -> Option<ReceiverReport>
Auto Trait Implementations§
impl Freeze for FeedbackReporter
impl RefUnwindSafe for FeedbackReporter
impl Send for FeedbackReporter
impl Sync for FeedbackReporter
impl Unpin for FeedbackReporter
impl UnsafeUnpin for FeedbackReporter
impl UnwindSafe for FeedbackReporter
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