#[repr(u8)]pub enum CodeCategory {
PUBLIC_ASSIGNED = 1,
PUBLIC_UNASSIGNED = 2,
USER_DEFINED = 4,
RESERVED = 8,
}
Expand description
Function Code Categories as stated in the protocol reference
Variants§
Trait Implementations§
Source§impl Binary for CodeCategory
impl Binary for CodeCategory
Source§impl BitAnd for CodeCategory
impl BitAnd for CodeCategory
Source§impl BitOr for CodeCategory
impl BitOr for CodeCategory
Source§impl BitXor for CodeCategory
impl BitXor for CodeCategory
Source§impl Clone for CodeCategory
impl Clone for CodeCategory
Source§fn clone(&self) -> CodeCategory
fn clone(&self) -> CodeCategory
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 CodeCategory
impl Debug for CodeCategory
Source§impl Display for CodeCategory
impl Display for CodeCategory
Source§impl Flag for CodeCategory
impl Flag for CodeCategory
Source§impl FromStr for CodeCategory
impl FromStr for CodeCategory
Source§impl Not for CodeCategory
impl Not for CodeCategory
Source§impl PartialEq<Flags<CodeCategory>> for CodeCategory
impl PartialEq<Flags<CodeCategory>> for CodeCategory
Source§impl PartialEq for CodeCategory
impl PartialEq for CodeCategory
impl Copy for CodeCategory
impl Eq for CodeCategory
impl StructuralPartialEq for CodeCategory
Auto Trait Implementations§
impl Freeze for CodeCategory
impl RefUnwindSafe for CodeCategory
impl Send for CodeCategory
impl Sync for CodeCategory
impl Unpin for CodeCategory
impl UnwindSafe for CodeCategory
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