pub enum GptPartitionEntryArrayError {
BufferTooSmall,
Overflow,
}Expand description
Errors used by GptPartitionEntryArray.
Variants§
BufferTooSmall
The storage buffer is not large enough. It must be at least
layout.num_bytes_rounded_to_block in size.
Overflow
Numeric overflow occurred.
Trait Implementations§
Source§impl Clone for GptPartitionEntryArrayError
impl Clone for GptPartitionEntryArrayError
Source§fn clone(&self) -> GptPartitionEntryArrayError
fn clone(&self) -> GptPartitionEntryArrayError
Returns a duplicate 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 GptPartitionEntryArrayError
impl Debug for GptPartitionEntryArrayError
Source§impl Error for GptPartitionEntryArrayError
impl Error for GptPartitionEntryArrayError
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 Hash for GptPartitionEntryArrayError
impl Hash for GptPartitionEntryArrayError
Source§impl Ord for GptPartitionEntryArrayError
impl Ord for GptPartitionEntryArrayError
Source§fn cmp(&self, other: &GptPartitionEntryArrayError) -> Ordering
fn cmp(&self, other: &GptPartitionEntryArrayError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for GptPartitionEntryArrayError
impl PartialOrd for GptPartitionEntryArrayError
impl Copy for GptPartitionEntryArrayError
impl Eq for GptPartitionEntryArrayError
impl StructuralPartialEq for GptPartitionEntryArrayError
Auto Trait Implementations§
impl Freeze for GptPartitionEntryArrayError
impl RefUnwindSafe for GptPartitionEntryArrayError
impl Send for GptPartitionEntryArrayError
impl Sync for GptPartitionEntryArrayError
impl Unpin for GptPartitionEntryArrayError
impl UnwindSafe for GptPartitionEntryArrayError
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