#[repr(transparent)]pub struct ChannelRtt(pub RttMillis);Tuple Fields§
§0: RttMillisImplementations§
Source§impl ChannelRtt
impl ChannelRtt
Sourcepub const FAST_CEILING: RttMillis
pub const FAST_CEILING: RttMillis
RNS 1.4.2 Channel.RTT_FAST (0.18 s)
Sourcepub const MEDIUM_CEILING: RttMillis
pub const MEDIUM_CEILING: RttMillis
RNS 1.4.2 Channel.RTT_MEDIUM (0.75 s)
Sourcepub const STOP_AND_WAIT_THRESHOLD: RttMillis
pub const STOP_AND_WAIT_THRESHOLD: RttMillis
RNS 1.4.2 Channel.RTT_SLOW (1.45 s)
pub const fn tier(self) -> ChannelRttTier
pub const fn demands_stop_and_wait(self) -> bool
Trait Implementations§
Source§impl Clone for ChannelRtt
impl Clone for ChannelRtt
Source§fn clone(&self) -> ChannelRtt
fn clone(&self) -> ChannelRtt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChannelRtt
Source§impl Debug for ChannelRtt
impl Debug for ChannelRtt
impl Eq for ChannelRtt
Source§impl From<RttMillis> for ChannelRtt
impl From<RttMillis> for ChannelRtt
Source§fn from(rtt: RttMillis) -> ChannelRtt
fn from(rtt: RttMillis) -> ChannelRtt
Converts to this type from the input type.
Source§impl PartialEq for ChannelRtt
impl PartialEq for ChannelRtt
impl StructuralPartialEq for ChannelRtt
Auto Trait Implementations§
impl Freeze for ChannelRtt
impl RefUnwindSafe for ChannelRtt
impl Send for ChannelRtt
impl Sync for ChannelRtt
impl Unpin for ChannelRtt
impl UnsafeUnpin for ChannelRtt
impl UnwindSafe for ChannelRtt
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