#[repr(u8)]pub enum APnDP {
DP = 0,
AP = 1,
}Expand description
Encode if a transaction is for AP or DP.
Variants§
Trait Implementations§
Source§impl TryFromPrimitive for APnDP
impl TryFromPrimitive for APnDP
impl Copy for APnDP
impl Eq for APnDP
impl StructuralPartialEq for APnDP
Auto Trait Implementations§
impl Freeze for APnDP
impl RefUnwindSafe for APnDP
impl Send for APnDP
impl Sync for APnDP
impl Unpin for APnDP
impl UnwindSafe for APnDP
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