pub struct Pipe { /* private fields */ }Expand description
Pipe.
Implementations§
Source§impl Pipe
impl Pipe
Sourcepub fn update_pipe_size(&mut self, size: NonZeroUsize) -> Result<usize>
pub fn update_pipe_size(&mut self, size: NonZeroUsize) -> Result<usize>
Sourcepub const fn size(&self) -> NonZeroUsize
pub const fn size(&self) -> NonZeroUsize
Returns the capacity of the pipe, in bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pipe
impl RefUnwindSafe for Pipe
impl Send for Pipe
impl Sync for Pipe
impl Unpin for Pipe
impl UnwindSafe for Pipe
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