pub struct StepTimeout(/* private fields */);Implementations§
Source§impl StepTimeout
impl StepTimeout
pub fn new(duration: DurationMs) -> Result<Self, DomainError>
pub fn duration(self) -> DurationMs
Trait Implementations§
Source§impl Clone for StepTimeout
impl Clone for StepTimeout
Source§fn clone(&self) -> StepTimeout
fn clone(&self) -> StepTimeout
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 StepTimeout
Source§impl Debug for StepTimeout
impl Debug for StepTimeout
Source§impl<'de> Deserialize<'de> for StepTimeout
impl<'de> Deserialize<'de> for StepTimeout
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 StepTimeout
Source§impl Hash for StepTimeout
impl Hash for StepTimeout
Source§impl Ord for StepTimeout
impl Ord for StepTimeout
Source§fn cmp(&self, other: &StepTimeout) -> Ordering
fn cmp(&self, other: &StepTimeout) -> 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 StepTimeout
impl PartialEq for StepTimeout
Source§impl PartialOrd for StepTimeout
impl PartialOrd for StepTimeout
Source§impl Serialize for StepTimeout
impl Serialize for StepTimeout
impl StructuralPartialEq for StepTimeout
Auto Trait Implementations§
impl Freeze for StepTimeout
impl RefUnwindSafe for StepTimeout
impl Send for StepTimeout
impl Sync for StepTimeout
impl Unpin for StepTimeout
impl UnsafeUnpin for StepTimeout
impl UnwindSafe for StepTimeout
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