[−][src]Enum pui_arena::version::Unversioned
A versioning strategy that doesn't actually track versions,
just the state of the container. This strategy can fall prey
to the ABA problem
Variants
The contianer is empty
The contianer is full
Trait Implementations
impl Clone for Unversioned
[src]
pub fn clone(&self) -> Unversioned
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Unversioned
[src]
impl Debug for Unversioned
[src]
impl Eq for Unversioned
[src]
impl PartialEq<Unversioned> for Unversioned
[src]
pub fn eq(&self, other: &Unversioned) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Unversioned
[src]
impl StructuralPartialEq for Unversioned
[src]
impl Version for Unversioned
[src]
type Save = UnversionedFull
Represents a full version
pub const EMPTY: Self
[src]
pub unsafe fn mark_empty(self) -> Result<Self, Self>
[src]
pub unsafe fn mark_full(self) -> Self
[src]
pub fn is_exhausted(&self) -> bool
[src]
pub fn is_full(self) -> bool
[src]
pub unsafe fn save(self) -> Self::Save
[src]
pub fn equals_saved(self, UnversionedFull(()): Self::Save) -> bool
[src]
pub fn is_empty(self) -> bool
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,