#[repr(transparent)]pub struct PipeRole(pub c_uchar);Expand description
The role of a pipe side
Both roles are equal, as they can both read and write the data. This status might be helpful in determining the role of a thread w.r.t. another thread in an application that builds on the pipe.
Tuple Fields§
§0: c_ucharTrait Implementations§
impl Copy for PipeRole
impl Eq for PipeRole
impl StructuralPartialEq for PipeRole
Auto Trait Implementations§
impl Freeze for PipeRole
impl RefUnwindSafe for PipeRole
impl Send for PipeRole
impl Sync for PipeRole
impl Unpin for PipeRole
impl UnwindSafe for PipeRole
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