pub struct TimeoutField {
pub key: &'static str,
pub unit: TimeUnit,
}Expand description
A native timeout field and its unit (omp timeout in milliseconds, Pi
timeout in seconds). Timeouts are passthrough fields, so a value keeps
the unit of the client it is written for.
Fields§
§key: &'static str§unit: TimeUnitImplementations§
Source§impl TimeoutField
impl TimeoutField
Trait Implementations§
Source§impl Clone for TimeoutField
impl Clone for TimeoutField
impl Copy for TimeoutField
Source§impl Debug for TimeoutField
impl Debug for TimeoutField
impl Eq for TimeoutField
Source§impl PartialEq for TimeoutField
impl PartialEq for TimeoutField
impl StructuralPartialEq for TimeoutField
Auto Trait Implementations§
impl Forget for TimeoutField
impl Freeze for TimeoutField
impl Move for TimeoutField
impl RefUnwindSafe for TimeoutField
impl Send for TimeoutField
impl Sync for TimeoutField
impl Unpin for TimeoutField
impl UnsafeUnpin for TimeoutFieldwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for TimeoutFieldwhere
&'static str: UnwindSafe,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.