#[non_exhaustive]pub enum CmdWait {
Timeout,
Closed,
}Expand description
ActorContext::recv_cmd_timeout 的等待结果。
Timeout 不是错误,是正常的空闲 tick。
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for CmdWait
impl Eq for CmdWait
impl StructuralPartialEq for CmdWait
Auto Trait Implementations§
impl Forget for CmdWait
impl Freeze for CmdWait
impl Move for CmdWait
impl RefUnwindSafe for CmdWait
impl Send for CmdWait
impl Sync for CmdWait
impl Unpin for CmdWait
impl UnsafeUnpin for CmdWait
impl UnwindSafe for CmdWait
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