Enum taos_query::tmq::Timeout
source · pub enum Timeout {
Never,
None,
Duration(Duration),
}Variants§
Never
Wait forever.
None
Try not block, will directly return when set timeout as None.
Duration(Duration)
Wait for a duration of time.
Implementations§
Trait Implementations§
impl Copy for Timeout
Auto Trait Implementations§
impl RefUnwindSafe for Timeout
impl Send for Timeout
impl Sync for Timeout
impl Unpin for Timeout
impl UnwindSafe for Timeout
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