pub struct CyclePacketCacheEvictionReport {
pub scanned_entries: usize,
pub evicted_entries: usize,
pub evicted_bytes: u64,
pub remaining_entries: usize,
pub remaining_bytes: u64,
pub ttl_secs: u64,
pub max_bytes: u64,
}Fields§
§scanned_entries: usize§evicted_entries: usize§evicted_bytes: u64§remaining_entries: usize§remaining_bytes: u64§ttl_secs: u64§max_bytes: u64Trait Implementations§
Source§impl Clone for CyclePacketCacheEvictionReport
impl Clone for CyclePacketCacheEvictionReport
Source§fn clone(&self) -> CyclePacketCacheEvictionReport
fn clone(&self) -> CyclePacketCacheEvictionReport
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<'de> Deserialize<'de> for CyclePacketCacheEvictionReport
impl<'de> Deserialize<'de> for CyclePacketCacheEvictionReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CyclePacketCacheEvictionReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CyclePacketCacheEvictionReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CyclePacketCacheEvictionReport
impl Serialize for CyclePacketCacheEvictionReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CyclePacketCacheEvictionReport
impl RefUnwindSafe for CyclePacketCacheEvictionReport
impl Send for CyclePacketCacheEvictionReport
impl Sync for CyclePacketCacheEvictionReport
impl Unpin for CyclePacketCacheEvictionReport
impl UnsafeUnpin for CyclePacketCacheEvictionReport
impl UnwindSafe for CyclePacketCacheEvictionReport
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