pub struct RingStatus {
pub visible_head: u64,
pub tail: u64,
pub capacity: u32,
pub len: u32,
}Expand description
Status snapshot of a ring.
Fields§
§visible_head: u64§tail: u64§capacity: u32§len: u32Trait Implementations§
Source§impl Clone for RingStatus
impl Clone for RingStatus
Source§fn clone(&self) -> RingStatus
fn clone(&self) -> RingStatus
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 RingStatus
impl Debug for RingStatus
impl Copy for RingStatus
Auto Trait Implementations§
impl Freeze for RingStatus
impl RefUnwindSafe for RingStatus
impl Send for RingStatus
impl Sync for RingStatus
impl Unpin for RingStatus
impl UnwindSafe for RingStatus
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