pub enum WaitTimeoutError {
Wait(WaitError),
Elapsed,
Timer(TimerError),
}Expand description
单值/任意值等待的原等待错误与超时分别表达。
Variants§
Trait Implementations§
Source§impl Debug for WaitTimeoutError
impl Debug for WaitTimeoutError
Auto Trait Implementations§
impl !RefUnwindSafe for WaitTimeoutError
impl !UnwindSafe for WaitTimeoutError
impl Forget for WaitTimeoutError
impl Freeze for WaitTimeoutError
impl Move for WaitTimeoutError
impl Send for WaitTimeoutError
impl Sync for WaitTimeoutError
impl Unpin for WaitTimeoutError
impl UnsafeUnpin for WaitTimeoutError
Blanket Implementations§
impl<T> Attachment for T
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