pub struct ReaderStall {
pub gap: Duration,
pub bound: Duration,
pub transport_closed: bool,
}Expand description
What a window’s reader saw of its own receive path, over the window and
one lease after it (§2.7, 0.27, #753). A reader stalled longer than the
transport’s wait_before_close loses what its router queued for it,
and may never see the owner’s token withdrawn: only a token it had
received is withdrawn when its own transport closes (Appendix B).
Fields§
§gap: DurationThe greatest gap between two ticks of the reader’s monotonic ticker, the gap still open when it was read included: how long its process stopped at most. A ticker on a thread of its own does not see zenoh’s receive threads blocked while the rest of the process runs.
bound: DurationThe longest stall the window tolerates: stall_bound.
transport_closed: boolWhether the reader’s session saw one of its own transports close:
zenoh’s transport events (unstable in 1.10.1). It sees a router
giving up on a reader whose receive threads were blocked, which no
ticker sees. false where the reader does not observe them.
Implementations§
Trait Implementations§
Source§impl Clone for ReaderStall
impl Clone for ReaderStall
impl Copy for ReaderStall
Source§impl Debug for ReaderStall
impl Debug for ReaderStall
Source§impl Default for ReaderStall
impl Default for ReaderStall
impl Eq for ReaderStall
Source§impl PartialEq for ReaderStall
impl PartialEq for ReaderStall
impl StructuralPartialEq for ReaderStall
Auto Trait Implementations§
impl Forget for ReaderStall
impl Freeze for ReaderStall
impl Move for ReaderStall
impl RefUnwindSafe for ReaderStall
impl Send for ReaderStall
impl Sync for ReaderStall
impl Unpin for ReaderStall
impl UnsafeUnpin for ReaderStall
impl UnwindSafe for ReaderStall
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
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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