pub struct LogicalDeadline(pub u64);Expand description
Milliseconds, matching the existing wall-clock convention (now_ms/max_wall_ms/
started_at_ms are all u64 ms elsewhere in this module).
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for LogicalDeadline
impl Clone for LogicalDeadline
Source§fn clone(&self) -> LogicalDeadline
fn clone(&self) -> LogicalDeadline
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 LogicalDeadline
Source§impl Debug for LogicalDeadline
impl Debug for LogicalDeadline
Source§impl<'de> Deserialize<'de> for LogicalDeadline
impl<'de> Deserialize<'de> for LogicalDeadline
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LogicalDeadline
Source§impl Hash for LogicalDeadline
impl Hash for LogicalDeadline
Source§impl Ord for LogicalDeadline
impl Ord for LogicalDeadline
Source§fn cmp(&self, other: &LogicalDeadline) -> Ordering
fn cmp(&self, other: &LogicalDeadline) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LogicalDeadline
impl PartialEq for LogicalDeadline
Source§impl PartialOrd for LogicalDeadline
impl PartialOrd for LogicalDeadline
Source§impl Serialize for LogicalDeadline
impl Serialize for LogicalDeadline
impl StructuralPartialEq for LogicalDeadline
Auto Trait Implementations§
impl Freeze for LogicalDeadline
impl RefUnwindSafe for LogicalDeadline
impl Send for LogicalDeadline
impl Sync for LogicalDeadline
impl Unpin for LogicalDeadline
impl UnsafeUnpin for LogicalDeadline
impl UnwindSafe for LogicalDeadline
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