#[repr(u8)]pub enum ArchivedPriority {
Low = 0,
Normal = 1,
High = 2,
Critical = 3,
}Expand description
An archived Priority
Variants§
Low = 0
The archived counterpart of Priority::Low
Normal = 1
The archived counterpart of Priority::Normal
High = 2
The archived counterpart of Priority::High
Critical = 3
The archived counterpart of Priority::Critical
Trait Implementations§
Source§impl PartialEq<ArchivedPriority> for Priority
impl PartialEq<ArchivedPriority> for Priority
Source§impl PartialEq<Priority> for ArchivedPriority
impl PartialEq<Priority> for ArchivedPriority
Auto Trait Implementations§
impl Freeze for ArchivedPriority
impl RefUnwindSafe for ArchivedPriority
impl Send for ArchivedPriority
impl Sync for ArchivedPriority
impl Unpin for ArchivedPriority
impl UnwindSafe for ArchivedPriority
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.