pub struct JobTty {
pub socket_address: [u8; 6],
pub window_size: WindowSize,
}Expand description
The parameters for a TTY for a job.
Fields§
§socket_address: [u8; 6]A Unix domain socket abstract address. We use exactly 6 bytes because that’s how many bytes the autobind feature in Linux uses. The first byte will always be 0.
window_size: WindowSizeThe initial window size of the TTY. Window size updates may follow.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobTty
impl<'de> Deserialize<'de> for JobTty
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for JobTty
impl Ord for JobTty
Source§impl PartialOrd for JobTty
impl PartialOrd for JobTty
impl Copy for JobTty
impl Eq for JobTty
impl StructuralPartialEq for JobTty
Auto Trait Implementations§
impl Freeze for JobTty
impl RefUnwindSafe for JobTty
impl Send for JobTty
impl Sync for JobTty
impl Unpin for JobTty
impl UnwindSafe for JobTty
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