Enum uefi::proto::device_path::NodeConversionError
source · pub enum NodeConversionError {
InvalidLength,
UnsupportedType,
}
Expand description
Error returned when converting from a DevicePathNode
to a more
specific node type.
Variants§
InvalidLength
The length of the node data is not valid for its type.
UnsupportedType
The node type is not currently supported.
Trait Implementations§
source§impl Clone for NodeConversionError
impl Clone for NodeConversionError
source§fn clone(&self) -> NodeConversionError
fn clone(&self) -> NodeConversionError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NodeConversionError
impl Debug for NodeConversionError
source§impl PartialEq for NodeConversionError
impl PartialEq for NodeConversionError
source§fn eq(&self, other: &NodeConversionError) -> bool
fn eq(&self, other: &NodeConversionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NodeConversionError
impl Eq for NodeConversionError
impl StructuralPartialEq for NodeConversionError
Auto Trait Implementations§
impl Freeze for NodeConversionError
impl RefUnwindSafe for NodeConversionError
impl Send for NodeConversionError
impl Sync for NodeConversionError
impl Unpin for NodeConversionError
impl UnwindSafe for NodeConversionError
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