pub struct TimerLimits { /* private fields */ }Expand description
Supplied by the receiving runtime and its configured deadline policy; the wire protocol invents no timer default.
Implementations§
Source§impl TimerLimits
impl TimerLimits
pub const fn new( maximum_timer_ms: NonZeroU64, maximum_idle_ms: Option<NonZeroU64>, ) -> Self
Trait Implementations§
Source§impl Clone for TimerLimits
impl Clone for TimerLimits
impl Copy for TimerLimits
Source§impl Debug for TimerLimits
impl Debug for TimerLimits
impl Eq for TimerLimits
Source§impl PartialEq for TimerLimits
impl PartialEq for TimerLimits
impl StructuralPartialEq for TimerLimits
Auto Trait Implementations§
impl Freeze for TimerLimits
impl RefUnwindSafe for TimerLimits
impl Send for TimerLimits
impl Sync for TimerLimits
impl Unpin for TimerLimits
impl UnsafeUnpin for TimerLimits
impl UnwindSafe for TimerLimits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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