#[non_exhaustive]pub enum PipeEnd {
Client,
Server,
}展开描述
表示命名管道的结束。
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
非穷尽枚举未来可能添加新的变体。因此,在对非穷尽枚举的变体进行模式匹配时,必须额外增加一个通配符分支以涵盖未来的新变体。
trait 实现§
impl Copy for PipeEnd
impl Eq for PipeEnd
impl StructuralPartialEq for PipeEnd
自动 trait 实现§
impl Freeze for PipeEnd
impl RefUnwindSafe for PipeEnd
impl Send for PipeEnd
impl Sync for PipeEnd
impl Unpin for PipeEnd
impl UnsafeUnpin for PipeEnd
impl UnwindSafe for PipeEnd
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. 更多信息