pub struct ErrorsEnabled;Expand description
错误通道已启用的 typestate 标记。
在此状态下,activate_error_channel 不可用(编译期保证)。
可以通过 MiddlewareChain::error_sender 获取已有 sender。
Auto Trait Implementations§
impl Freeze for ErrorsEnabled
impl RefUnwindSafe for ErrorsEnabled
impl Send for ErrorsEnabled
impl Sync for ErrorsEnabled
impl Unpin for ErrorsEnabled
impl UnsafeUnpin for ErrorsEnabled
impl UnwindSafe for ErrorsEnabled
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