pub enum TurnLifecycle {
Open,
Sealed,
}Expand description
Whether a turn still accepts appends or is terminal.
Variants§
Open
The turn accepts appends through the three doors.
Sealed
Terminal; every append operation is rejected.
Trait Implementations§
Source§impl Clone for TurnLifecycle
impl Clone for TurnLifecycle
Source§fn clone(&self) -> TurnLifecycle
fn clone(&self) -> TurnLifecycle
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 moreimpl Copy for TurnLifecycle
Source§impl Debug for TurnLifecycle
impl Debug for TurnLifecycle
impl Eq for TurnLifecycle
Source§impl PartialEq for TurnLifecycle
impl PartialEq for TurnLifecycle
impl StructuralPartialEq for TurnLifecycle
Auto Trait Implementations§
impl Freeze for TurnLifecycle
impl RefUnwindSafe for TurnLifecycle
impl Send for TurnLifecycle
impl Sync for TurnLifecycle
impl Unpin for TurnLifecycle
impl UnsafeUnpin for TurnLifecycle
impl UnwindSafe for TurnLifecycle
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