pub enum DevicePathError {
Build(BuildError),
DevPathUtil(DevicePathUtilitiesError),
}
Expand description
An Error
that may result from building a DevicePath
Variants§
Build(BuildError)
A Device Path could not be built. This can if the buffer was too small.
DevPathUtil(DevicePathUtilitiesError)
The Device Path could not be appended to an existing one for some reason.
Trait Implementations§
Source§impl Debug for DevicePathError
impl Debug for DevicePathError
Source§impl Display for DevicePathError
impl Display for DevicePathError
Source§impl Error for DevicePathError
impl Error for DevicePathError
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<BuildError> for DevicePathError
impl From<BuildError> for DevicePathError
Source§fn from(source: BuildError) -> Self
fn from(source: BuildError) -> Self
Converts to this type from the input type.
Source§impl From<DevicePathError> for BootError
impl From<DevicePathError> for BootError
Source§fn from(source: DevicePathError) -> Self
fn from(source: DevicePathError) -> Self
Converts to this type from the input type.
Source§impl From<DevicePathUtilitiesError> for DevicePathError
impl From<DevicePathUtilitiesError> for DevicePathError
Source§fn from(source: DevicePathUtilitiesError) -> Self
fn from(source: DevicePathUtilitiesError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DevicePathError
impl RefUnwindSafe for DevicePathError
impl Send for DevicePathError
impl Sync for DevicePathError
impl Unpin for DevicePathError
impl UnwindSafe for DevicePathError
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