pub struct WriteToken { /* private fields */ }Expand description
Capability required to append workflow events.
This token enforces Aion’s single-writer durability invariant at the type level: only the
recorder append path may hold write authority for a workflow. SequenceConflict remains the
runtime defense-in-depth signal for any internal misuse or future bypass that attempts to
append with a stale head.
Implementations§
Source§impl WriteToken
impl WriteToken
Trait Implementations§
Source§impl Clone for WriteToken
impl Clone for WriteToken
Source§fn clone(&self) -> WriteToken
fn clone(&self) -> WriteToken
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 WriteToken
Auto Trait Implementations§
impl Freeze for WriteToken
impl RefUnwindSafe for WriteToken
impl Send for WriteToken
impl Sync for WriteToken
impl Unpin for WriteToken
impl UnsafeUnpin for WriteToken
impl UnwindSafe for WriteToken
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