pub struct ProcessExitStatus {
pub exit_code: u8,
}Expand description
A completed command’s shell-visible status, distinct from a failure to execute the tool.
Fields§
§exit_code: u8Trait Implementations§
Source§impl Clone for ProcessExitStatus
impl Clone for ProcessExitStatus
Source§fn clone(&self) -> ProcessExitStatus
fn clone(&self) -> ProcessExitStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProcessExitStatus
Source§impl Debug for ProcessExitStatus
impl Debug for ProcessExitStatus
impl Eq for ProcessExitStatus
Source§impl FromSchema for ProcessExitStatus
impl FromSchema for ProcessExitStatus
fn from_value(value: &SchemaValue) -> Result<ProcessExitStatus, FromSchemaError>
Source§impl FromWire for ProcessExitStatus
impl FromWire for ProcessExitStatus
fn read_wire( reader: &mut WireReader, index: i32, ) -> Result<ProcessExitStatus, WireError>
fn read_result_payload( reader: &mut WireReader, index: Option<i32>, ) -> Result<Self, WireError>
Source§impl IntoSchema for ProcessExitStatus
impl IntoSchema for ProcessExitStatus
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
Source§impl IntoWire for ProcessExitStatus
impl IntoWire for ProcessExitStatus
fn preflight(&self, resources: &mut WirePreflight) -> Result<(), WireError>
Source§async fn prepare_wire(&self) -> Result<(), WireError>
async fn prepare_wire(&self) -> Result<(), WireError>
Wrap native stream endpoints without reading from them. This is called
only after the complete value has passed resource preflight.
fn write_wire(&self, writer: &mut WireWriter) -> Result<i32, WireError>
Source§const NEEDS_PREPARATION: bool = true
const NEEDS_PREPARATION: bool = true
False only when
prepare_wire is a no-op for every value of this type.
Resource preflight still runs regardless of this flag. Custom and derived
implementations prepare by default, including those with no stream schema.fn write_result_payload( &self, writer: &mut WireWriter, ) -> Result<Option<i32>, WireError>
Source§impl PartialEq for ProcessExitStatus
impl PartialEq for ProcessExitStatus
impl StructuralPartialEq for ProcessExitStatus
Source§impl WireSchema for ProcessExitStatus
impl WireSchema for ProcessExitStatus
fn contains_stream(seen: &mut HashSet<&'static str>) -> bool
fn append_schema(builder: &mut WireSchemaBuilder) -> i32
fn wire_type_id() -> String
const IS_UNIT: bool = false
Auto Trait Implementations§
impl Freeze for ProcessExitStatus
impl RefUnwindSafe for ProcessExitStatus
impl Send for ProcessExitStatus
impl Sync for ProcessExitStatus
impl Unpin for ProcessExitStatus
impl UnsafeUnpin for ProcessExitStatus
impl UnwindSafe for ProcessExitStatus
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