pub struct Pipe {
readable: bool,
writable: bool,
buffer: Arc<UPIntrFreeCell<PipeRingBuffer>>,
}
Fields
readable: bool
writable: bool
buffer: Arc<UPIntrFreeCell<PipeRingBuffer>>
Implementations
sourceimpl Pipe
impl Pipe
pub fn read_end_with_buffer(buffer: Arc<UPIntrFreeCell<PipeRingBuffer>>) -> Self
pub fn write_end_with_buffer(
buffer: Arc<UPIntrFreeCell<PipeRingBuffer>>
) -> Self
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Pipe
impl Send for Pipe
impl Sync for Pipe
impl Unpin for Pipe
impl !UnwindSafe for Pipe
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more