#[repr(u8)]pub enum RingTopology {
Shared = 0,
PerNode = 1,
SharedOrdered = 2,
}Expand description
Writer ownership for one OrbitTyped ring.
Variants§
Every fleet member publishes into one shared multi-writer sequence.
PerNode = 1
Every fleet member owns an independent single-process writer lane. The embedder must not run two active processes with the same node id; local concurrent tasks are serialized by the ring handle.
Every fleet member publishes into one globally ordered sequence. Writers are serialized by a process-recoverable OS lock associated with the SHM name, and the head advances only after the slot commits.
Trait Implementations§
Source§impl Clone for RingTopology
impl Clone for RingTopology
Source§fn clone(&self) -> RingTopology
fn clone(&self) -> RingTopology
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 RingTopology
Source§impl Debug for RingTopology
impl Debug for RingTopology
impl Eq for RingTopology
Source§impl PartialEq for RingTopology
impl PartialEq for RingTopology
impl StructuralPartialEq for RingTopology
Auto Trait Implementations§
impl Freeze for RingTopology
impl RefUnwindSafe for RingTopology
impl Send for RingTopology
impl Sync for RingTopology
impl Unpin for RingTopology
impl UnsafeUnpin for RingTopology
impl UnwindSafe for RingTopology
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