pub enum ElfLoadError {
NothingToLoad,
VmarAllocate(Status),
VmarMap(Status),
VmoCowClone(Status),
VmoCreate(Status),
VmoRead(Status),
VmoWrite(Status),
GetVmoName(Status),
SetVmoName(Status),
}
Expand description
Possible errors that can occur during ELF loading.
Variants§
NothingToLoad
VmarAllocate(Status)
VmarMap(Status)
VmoCowClone(Status)
VmoCreate(Status)
VmoRead(Status)
VmoWrite(Status)
GetVmoName(Status)
SetVmoName(Status)
Implementations§
Source§impl ElfLoadError
impl ElfLoadError
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 ElfLoadError
impl Debug for ElfLoadError
Source§impl Display for ElfLoadError
impl Display for ElfLoadError
Source§impl Error for ElfLoadError
impl Error for ElfLoadError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ElfLoadError> for ProcessBuilderError
impl From<ElfLoadError> for ProcessBuilderError
Source§fn from(source: ElfLoadError) -> Self
fn from(source: ElfLoadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ElfLoadError
impl RefUnwindSafe for ElfLoadError
impl Send for ElfLoadError
impl Sync for ElfLoadError
impl Unpin for ElfLoadError
impl UnwindSafe for ElfLoadError
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