#[non_exhaustive]pub struct SessionParts {
pub child: Child,
pub output: OwnedReadHalf,
pub input: OwnedWriteHalf,
pub controller: PtyController,
}Available on crate feature
blocking only.Expand description
Independently owned parts of a managed blocking session.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.child: ChildRoot process and kill-on-drop Job ownership.
output: OwnedReadHalfRendered virtual-terminal output.
input: OwnedWriteHalfConsole input.
controller: PtyControllerCloneable resize/clear/capability control.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionParts
impl RefUnwindSafe for SessionParts
impl Send for SessionParts
impl Sync for SessionParts
impl Unpin for SessionParts
impl UnsafeUnpin for SessionParts
impl UnwindSafe for SessionParts
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