pub enum ProcessargsError {
TryFromInt(TryFromIntError),
SizeTooLarge(usize),
TooManyHandles(usize),
}
Expand description
Possible errors that can occur during processargs startup message construction
Variants§
Implementations§
source§impl ProcessargsError
impl ProcessargsError
sourcepub fn as_zx_status(&self) -> Status
pub fn as_zx_status(&self) -> Status
Returns an appropriate zx::Status code for the given error.
Trait Implementations§
source§impl Debug for ProcessargsError
impl Debug for ProcessargsError
source§impl Display for ProcessargsError
impl Display for ProcessargsError
source§impl Error for ProcessargsError
impl Error for ProcessargsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ProcessargsError> for ProcessBuilderError
impl From<ProcessargsError> for ProcessBuilderError
source§fn from(source: ProcessargsError) -> Self
fn from(source: ProcessargsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProcessargsError
impl RefUnwindSafe for ProcessargsError
impl Send for ProcessargsError
impl Sync for ProcessargsError
impl Unpin for ProcessargsError
impl UnwindSafe for ProcessargsError
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