pub enum RealtimeChannel {
Events,
Presence,
DocSync,
}Expand description
The logical channel a Frame travels on. DocSync is reserved for Phase 3
CRDT sync and is relayed opaquely for now.
Variants§
Events
Durable-ish app events (e.g. a new chat message). JSON payload.
Presence
Ephemeral awareness (cursor / typing / name / color). JSON payload, never persisted.
DocSync
Opaque binary CRDT updates (Phase 3). Passed through untouched.
Trait Implementations§
Source§impl Clone for RealtimeChannel
impl Clone for RealtimeChannel
Source§fn clone(&self) -> RealtimeChannel
fn clone(&self) -> RealtimeChannel
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 RealtimeChannel
Source§impl Debug for RealtimeChannel
impl Debug for RealtimeChannel
impl Eq for RealtimeChannel
Source§impl PartialEq for RealtimeChannel
impl PartialEq for RealtimeChannel
impl StructuralPartialEq for RealtimeChannel
Auto Trait Implementations§
impl Freeze for RealtimeChannel
impl RefUnwindSafe for RealtimeChannel
impl Send for RealtimeChannel
impl Sync for RealtimeChannel
impl Unpin for RealtimeChannel
impl UnsafeUnpin for RealtimeChannel
impl UnwindSafe for RealtimeChannel
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