#[repr(u32)]pub enum CacheAckStatus {
Accepted = 0,
Rejected = 1,
Replaced = 2,
}Variants§
Implementations§
Source§impl CacheAckStatus
impl CacheAckStatus
pub fn try_from_u32(value: u32) -> Result<Self, NnrpError>
Trait Implementations§
Source§impl Clone for CacheAckStatus
impl Clone for CacheAckStatus
Source§fn clone(&self) -> CacheAckStatus
fn clone(&self) -> CacheAckStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CacheAckStatus
impl Debug for CacheAckStatus
Source§impl PartialEq for CacheAckStatus
impl PartialEq for CacheAckStatus
Source§fn eq(&self, other: &CacheAckStatus) -> bool
fn eq(&self, other: &CacheAckStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CacheAckStatus
impl Eq for CacheAckStatus
impl StructuralPartialEq for CacheAckStatus
Auto Trait Implementations§
impl Freeze for CacheAckStatus
impl RefUnwindSafe for CacheAckStatus
impl Send for CacheAckStatus
impl Sync for CacheAckStatus
impl Unpin for CacheAckStatus
impl UnsafeUnpin for CacheAckStatus
impl UnwindSafe for CacheAckStatus
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