pub struct PipeInfo {
pub kind: PipeKindDesc,
pub buffered: u64,
pub readers: usize,
pub writers: usize,
}Expand description
Point-in-time pipe stats, queried after releasing the cell lock so no lock is ever held across both the cell and the backend.
Fields§
§kind: PipeKindDescMaterialization kind.
buffered: u64Bytes currently buffered for script pipes; always 0 for OS pairs (kernel bytes are invisible) and unbound handles.
readers: usizeBound script pipes report 1 (the reader half is live by construction); OS pairs report presence, not live takes.
writers: usizeLive data-writer attachments for script pipes (keeper pins excluded); OS pairs report presence, not live takes.
Trait Implementations§
Auto Trait Implementations§
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 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