pub struct NoopNotifier;Expand description
No-op notifier for platforms without real-time push.
Trait Implementations§
Source§impl ChangeNotifier for NoopNotifier
impl ChangeNotifier for NoopNotifier
fn notify(&self, _event: &ChangeEvent)
fn notify_presence(&self, _json: &str)
Source§fn notify_crdt(&self, _entity: &str, _row_id: &str, _snapshot: &[u8])
fn notify_crdt(&self, _entity: &str, _row_id: &str, _snapshot: &[u8])
Ship a binary CRDT update for one row to subscribed clients.
Called after every successful write to a CRDT-mode entity. The
payload is a Loro snapshot (or eventually an incremental delta);
the implementation owns wire-format framing — see
encode_crdt_frame for the canonical Pylon shape. Read moreAuto Trait Implementations§
impl Freeze for NoopNotifier
impl RefUnwindSafe for NoopNotifier
impl Send for NoopNotifier
impl Sync for NoopNotifier
impl Unpin for NoopNotifier
impl UnsafeUnpin for NoopNotifier
impl UnwindSafe for NoopNotifier
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