pub enum ComposeRef {
Handle(MessageHandle),
Wire {
message_id: u8,
epoch: u16,
},
}Expand description
Reference to a previously composed original for edits and deletes.
Variants§
Handle(MessageHandle)
A message composed by this engine instance.
Wire
A persisted original from an earlier process: the wire ID and epoch recorded when it was composed. Valid only while the outbound stream is still in that epoch — a Sequence Reset invalidates older wire IDs as reference targets — and while the ID is within the recently allocated serial half-space.
Trait Implementations§
Source§impl Clone for ComposeRef
impl Clone for ComposeRef
Source§fn clone(&self) -> ComposeRef
fn clone(&self) -> ComposeRef
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComposeRef
impl Debug for ComposeRef
Source§impl PartialEq for ComposeRef
impl PartialEq for ComposeRef
impl Copy for ComposeRef
impl Eq for ComposeRef
impl StructuralPartialEq for ComposeRef
Auto Trait Implementations§
impl Freeze for ComposeRef
impl RefUnwindSafe for ComposeRef
impl Send for ComposeRef
impl Sync for ComposeRef
impl Unpin for ComposeRef
impl UnwindSafe for ComposeRef
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)