pub struct RoomActor { /* fields omitted */ }Expand description
Actor model representation of a “room”. A room is a set of clients
that share an instance of a Jamsocket instance. Conceptually, this
is like a room in a chat service. Events (such as messages) and their
side-effects are isolated to the room in which they occur.
Actor execution context type
Called when an actor gets polled the first time.
Called after an actor is in Actor::Stopping state. Read more
Start a new asynchronous actor, returning its address. Read more
Construct and start a new asynchronous actor, returning its
address. Read more
Start new actor in arbiter’s thread.
Start a new asynchronous actor given a Context. Read more
The type of value that this handler will return. Read more
This method is called for every message received by this actor.
The type of value that this handler will return. Read more
This method is called for every message received by this actor.
The type of value that this handler will return. Read more
This method is called for every message received by this actor.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the current Span, returning an
Instrumented wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,