pub struct InternalCaptureControl { /* private fields */ }展开描述
提供一种优雅地停止捕获会话线程的方法。
实现§
自动 trait 实现§
impl Freeze for InternalCaptureControl
impl RefUnwindSafe for InternalCaptureControl
impl Send for InternalCaptureControl
impl Sync for InternalCaptureControl
impl Unpin for InternalCaptureControl
impl UnsafeUnpin for InternalCaptureControl
impl UnwindSafe for InternalCaptureControl
Blanket 实现§
源码§impl<T> IntoEither for T
impl<T> IntoEither for T
源码§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
当
into_left 为 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。 了解更多源码§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
当
into_left(&self) 返回 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。 了解更多