Enum libparted_sys::_PedExceptionType
source · #[repr(u32)]
#[non_exhaustive]
pub enum _PedExceptionType {
PED_EXCEPTION_INFORMATION,
PED_EXCEPTION_WARNING,
PED_EXCEPTION_ERROR,
PED_EXCEPTION_FATAL,
PED_EXCEPTION_BUG,
PED_EXCEPTION_NO_FEATURE,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PED_EXCEPTION_INFORMATION
PED_EXCEPTION_WARNING
PED_EXCEPTION_ERROR
PED_EXCEPTION_FATAL
PED_EXCEPTION_BUG
PED_EXCEPTION_NO_FEATURE
Trait Implementations§
source§impl Clone for _PedExceptionType
impl Clone for _PedExceptionType
source§fn clone(&self) -> _PedExceptionType
fn clone(&self) -> _PedExceptionType
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 _PedExceptionType
impl Debug for _PedExceptionType
source§impl Hash for _PedExceptionType
impl Hash for _PedExceptionType
source§impl PartialEq<_PedExceptionType> for _PedExceptionType
impl PartialEq<_PedExceptionType> for _PedExceptionType
source§fn eq(&self, other: &_PedExceptionType) -> bool
fn eq(&self, other: &_PedExceptionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _PedExceptionType
impl Eq for _PedExceptionType
impl StructuralEq for _PedExceptionType
impl StructuralPartialEq for _PedExceptionType
Auto Trait Implementations§
impl RefUnwindSafe for _PedExceptionType
impl Send for _PedExceptionType
impl Sync for _PedExceptionType
impl Unpin for _PedExceptionType
impl UnwindSafe for _PedExceptionType
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