pub enum AttributeMetadataField {
Restricted = 1,
Priority = 2,
Error = 4,
Ephemeral = 8,
}Expand description
Attribute metadata flags for attributes.
Variants§
Restricted = 1
The attribute key is restricted - i.e. it cannot be set by users.
Priority = 2
Priority attribute, which are always listed/returned first.
Error = 4
An attribute for an error.
Ephemeral = 8
Ephemeral attribute - i.e. defined just for an individual log write.
Auto Trait Implementations§
impl Freeze for MetadataField
impl RefUnwindSafe for MetadataField
impl Send for MetadataField
impl Sync for MetadataField
impl Unpin for MetadataField
impl UnsafeUnpin for MetadataField
impl UnwindSafe for MetadataField
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