pub struct ShellMark {
pub offset: u64,
pub kind: MarkKind,
pub exit_code: Option<i32>,
}Expand description
One mark found in the stream.
Fields§
§offset: u64Stream offset of the ESC that opens the sequence.
kind: MarkKindWhich boundary.
exit_code: Option<i32>For MarkKind::CommandEnd, the exit code, when the shell sent one.
Trait Implementations§
impl Copy for ShellMark
impl Eq for ShellMark
impl StructuralPartialEq for ShellMark
Auto Trait Implementations§
impl Freeze for ShellMark
impl RefUnwindSafe for ShellMark
impl Send for ShellMark
impl Sync for ShellMark
impl Unpin for ShellMark
impl UnsafeUnpin for ShellMark
impl UnwindSafe for ShellMark
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