Trait medea_jason::utils::Updatable[][src]

pub trait Updatable {
    fn when_stabilized(&self) -> AllProcessed<'static>;
fn when_updated(&self) -> AllProcessed<'static>;
fn connection_lost(&self);
fn connection_recovered(&self); }

Abstraction over a state which can be updated by a client side.

Required methods

fn when_stabilized(&self) -> AllProcessed<'static>[src]

Returns Future resolving once this Updatable state resolves its intentions.

fn when_updated(&self) -> AllProcessed<'static>[src]

Returns Future resolving once all the client updates are performed on this state.

fn connection_lost(&self)[src]

Notifies about a RPC connection loss.

fn connection_recovered(&self)[src]

Notifies about a RPC connection recovering.

Loading content...

Implementors

impl Updatable for medea_jason::peer::receiver::State[src]

fn when_stabilized(&self) -> AllProcessed<'static>[src]

Returns Future resolving once media_exchange_state is stabilized.

fn when_updated(&self) -> AllProcessed<'static>[src]

Returns Future resolving once State update will be applied onto the Receiver.

fn connection_lost(&self)[src]

Notifies State about a RPC connection loss.

fn connection_recovered(&self)[src]

Notifies State about a RPC connection restore.

impl Updatable for medea_jason::peer::sender::State[src]

fn when_stabilized(&self) -> AllProcessed<'static>[src]

Returns Future resolving once media_exchange_state and mute_state are stabilized.

fn when_updated(&self) -> AllProcessed<'static>[src]

Returns Future resolving once a State update is applied onto the Sender.

fn connection_lost(&self)[src]

Notifies State about a RPC connection loss.

fn connection_recovered(&self)[src]

Notifies State about a RPC connection restore.

impl Updatable for medea_jason::peer::State[src]

Loading content...