pub struct TimeoutPolicy {
pub timeout: Duration,
}
Fields§
§timeout: Duration
Implementations§
Trait Implementations§
Source§impl Clone for TimeoutPolicy
impl Clone for TimeoutPolicy
Source§fn clone(&self) -> TimeoutPolicy
fn clone(&self) -> TimeoutPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TimeoutPolicy
impl RefUnwindSafe for TimeoutPolicy
impl Send for TimeoutPolicy
impl Sync for TimeoutPolicy
impl Unpin for TimeoutPolicy
impl UnwindSafe for TimeoutPolicy
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