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 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 GptPartitionEntryArrayError
impl Debug for GptPartitionEntryArrayError
source§impl Error for GptPartitionEntryArrayError
Available on crate feature std only.
impl Error for GptPartitionEntryArrayError
Available on crate feature
std only.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 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 PartialEq<GptPartitionEntryArrayError> for GptPartitionEntryArrayError
impl PartialEq<GptPartitionEntryArrayError> for GptPartitionEntryArrayError
source§fn eq(&self, other: &GptPartitionEntryArrayError) -> bool
fn eq(&self, other: &GptPartitionEntryArrayError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<GptPartitionEntryArrayError> for GptPartitionEntryArrayError
impl PartialOrd<GptPartitionEntryArrayError> for GptPartitionEntryArrayError
source§fn partial_cmp(&self, other: &GptPartitionEntryArrayError) -> Option<Ordering>
fn partial_cmp(&self, other: &GptPartitionEntryArrayError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for GptPartitionEntryArrayError
impl Eq for GptPartitionEntryArrayError
impl StructuralEq for GptPartitionEntryArrayError
impl StructuralPartialEq for GptPartitionEntryArrayError
Auto Trait Implementations§
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