pub struct Pipe {
pub pipe: Object<PipeBase>,
/* private fields */
}Fields§
§pipe: Object<PipeBase>Implementations§
Source§impl Pipe
impl Pipe
pub fn create_object(spec: ObjectCreate) -> Result<Self>
pub fn open_object(id: ObjID) -> Result<Self>
pub fn id(&self) -> ObjID
pub fn readers(&self) -> u64
pub fn writers(&self) -> u64
pub fn read_waitpoint(&self) -> ThreadSyncSleep
pub fn write_waitpoint(&self) -> ThreadSyncSleep
pub fn is_reader(&self) -> bool
pub fn is_writer(&self) -> bool
pub fn enable_reader(&self)
pub fn increment_reader(&self)
pub fn enable_writer(&self)
pub fn increment_writer(&self)
pub fn close_reader(&self)
pub fn close_writer(&self)
pub fn has_pending_data(&self) -> bool
pub fn has_avail_space(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Pipe
impl !RefUnwindSafe for Pipe
impl Send for Pipe
impl StoreCopy 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