Struct rcu_cell::RcuCell [−][src]
pub struct RcuCell<T> { /* fields omitted */ }
Methods
impl<T> RcuCell<T>
[src]
impl<T> RcuCell<T>
pub fn new(data: Option<T>) -> Self
[src]
pub fn new(data: Option<T>) -> Self
pub fn is_none(&self) -> bool
[src]
pub fn is_none(&self) -> bool
pub fn is_locked(&self) -> bool
[src]
pub fn is_locked(&self) -> bool
pub fn read(&self) -> Option<RcuReader<T>>
[src]
pub fn read(&self) -> Option<RcuReader<T>>
pub fn try_lock(&self) -> Option<RcuGuard<T>>
[src]
pub fn try_lock(&self) -> Option<RcuGuard<T>>
Trait Implementations
impl<T: Clone> Clone for RcuCell<T>
[src]
impl<T: Clone> Clone for RcuCell<T>
fn clone(&self) -> RcuCell<T>
[src]
fn clone(&self) -> RcuCell<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for RcuCell<T>
[src]
impl<T: Debug> Debug for RcuCell<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Send for RcuCell<T>
[src]
impl<T> Send for RcuCell<T>
impl<T> Sync for RcuCell<T>
[src]
impl<T> Sync for RcuCell<T>
impl<T> Default for RcuCell<T>
[src]
impl<T> Default for RcuCell<T>