pub enum Frame {
Event(Value),
Presence(Value),
DocSync(Vec<u8>),
}Expand description
One fan-out frame. Event/Presence carry JSON; DocSync carries opaque
bytes so binary CRDT updates pass through without interpretation. Clone is
cheap-ish (Value/Vec share via the broadcast clone on each receiver).
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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