pub struct PtyInterruptTarget(/* private fields */);Expand description
Prepared, owned interrupt operation that can outlive a borrow of the PTY master.
Native descriptors and process-group identifiers remain captured inside the selected concrete implementation rather than crossing this facade.
Implementations§
Source§impl PtyInterruptTarget
impl PtyInterruptTarget
pub fn send(self, writer: &SharedPtyWriter) -> Result<bool>
Auto Trait Implementations§
impl !RefUnwindSafe for PtyInterruptTarget
impl !Sync for PtyInterruptTarget
impl !UnwindSafe for PtyInterruptTarget
impl Freeze for PtyInterruptTarget
impl Send for PtyInterruptTarget
impl Unpin for PtyInterruptTarget
impl UnsafeUnpin for PtyInterruptTarget
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more