pub struct PtyNumber(/* private fields */);Expand description
Numéro de l’esclave d’un pseudo-terminal (/dev/pts/N).
Newtype d’identifiant (ADR-021 : newtypes typés systématiques, comme
Pid/Tid/PidFd) : jamais un
u32 brut pour désigner un esclave de PTY. La valeur est celle rendue par
l’ioctl TIOCGPTN sur le maître /dev/ptmx — elle nomme le nœud
/dev/pts/N correspondant à l’esclave.
Implementations§
Trait Implementations§
impl Copy for PtyNumber
impl Eq for PtyNumber
Source§impl Ord for PtyNumber
impl Ord for PtyNumber
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PtyNumber
impl PartialOrd for PtyNumber
impl StructuralPartialEq for PtyNumber
Auto Trait Implementations§
impl Freeze for PtyNumber
impl RefUnwindSafe for PtyNumber
impl Send for PtyNumber
impl Sync for PtyNumber
impl Unpin for PtyNumber
impl UnsafeUnpin for PtyNumber
impl UnwindSafe for PtyNumber
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