#[non_exhaustive]pub struct PipeInfo {
pub mode: PipeMode,
pub end: PipeEnd,
pub max_instances: u32,
pub out_buffer_size: u32,
pub in_buffer_size: u32,
}展开描述
关于命名管道的信息。
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mode: PipeMode指示命名管道的模式。
end: PipeEnd表示命名管道的结束。
max_instances: u32可为该管道创建的最大实例数。
out_buffer_size: u32为输出缓冲区预留的字节数。
in_buffer_size: u32为输入缓冲区预留的字节数。
trait 实现§
自动 trait 实现§
impl Freeze for PipeInfo
impl RefUnwindSafe for PipeInfo
impl Send for PipeInfo
impl Sync for PipeInfo
impl Unpin for PipeInfo
impl UnsafeUnpin for PipeInfo
impl UnwindSafe for PipeInfo
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. 更多信息