pub trait Updatable {
// Required methods
fn when_stabilized(&self) -> AllProcessed<'static>;
fn when_updated(&self) -> AllProcessed<'static>;
fn connection_lost(&self);
fn connection_recovered(&self);
}Expand description
Abstraction over a state which can be updated by a client side.
Required Methods§
Sourcefn when_stabilized(&self) -> AllProcessed<'static>
fn when_stabilized(&self) -> AllProcessed<'static>
Sourcefn when_updated(&self) -> AllProcessed<'static>
fn when_updated(&self) -> AllProcessed<'static>
Returns Future resolving once all the client updates are performed
on this state.
Sourcefn connection_lost(&self)
fn connection_lost(&self)
Notifies about a RPC connection loss.
Sourcefn connection_recovered(&self)
fn connection_recovered(&self)
Notifies about a RPC connection recovering.