pub enum GptPartitionNameSetCharError {
Index,
InvalidChar,
}Expand description
Error type for GptPartitionName::set_char.
Variants§
Index
Character index is outside the range 0..36.
InvalidChar
Character cannot be represented in UCS-2.
Trait Implementations§
Source§impl Clone for GptPartitionNameSetCharError
impl Clone for GptPartitionNameSetCharError
Source§fn clone(&self) -> GptPartitionNameSetCharError
fn clone(&self) -> GptPartitionNameSetCharError
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 GptPartitionNameSetCharError
impl Debug for GptPartitionNameSetCharError
Source§impl Error for GptPartitionNameSetCharError
impl Error for GptPartitionNameSetCharError
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 GptPartitionNameSetCharError
impl Hash for GptPartitionNameSetCharError
Source§impl Ord for GptPartitionNameSetCharError
impl Ord for GptPartitionNameSetCharError
Source§fn cmp(&self, other: &GptPartitionNameSetCharError) -> Ordering
fn cmp(&self, other: &GptPartitionNameSetCharError) -> 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 for GptPartitionNameSetCharError
impl PartialEq for GptPartitionNameSetCharError
Source§fn eq(&self, other: &GptPartitionNameSetCharError) -> bool
fn eq(&self, other: &GptPartitionNameSetCharError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GptPartitionNameSetCharError
impl PartialOrd for GptPartitionNameSetCharError
impl Copy for GptPartitionNameSetCharError
impl Eq for GptPartitionNameSetCharError
impl StructuralPartialEq for GptPartitionNameSetCharError
Auto Trait Implementations§
impl Freeze for GptPartitionNameSetCharError
impl RefUnwindSafe for GptPartitionNameSetCharError
impl Send for GptPartitionNameSetCharError
impl Sync for GptPartitionNameSetCharError
impl Unpin for GptPartitionNameSetCharError
impl UnwindSafe for GptPartitionNameSetCharError
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