Struct medea::signalling::room_service::RoomService[][src]

pub struct RoomService { /* fields omitted */ }

Service for controlling Rooms.

Implementations

impl RoomService[src]

pub fn new(
    room_repo: RoomRepository,
    app: AppContext,
    graceful_shutdown: Addr<GracefulShutdown>
) -> Result<Self, RedisError>
[src]

Creates new RoomService.

Errors

Returns RedisError if fails to connect to Redis stats server.

Trait Implementations

impl Actor for RoomService[src]

type Context = Context<Self>

Actor execution context type

impl Handler<ApplyMember> for RoomService[src]

type Result = ResponseFuture<Result<(), RoomServiceError>>

The type of value that this handler will return. Read more

impl Handler<ApplyRoom> for RoomService[src]

type Result = ResponseFuture<Result<Sids, RoomServiceError>>

The type of value that this handler will return. Read more

impl Handler<CreateEndpointInRoom> for RoomService[src]

type Result = ResponseFuture<Result<Sids, RoomServiceError>>

The type of value that this handler will return. Read more

impl Handler<CreateMemberInRoom> for RoomService[src]

type Result = ResponseFuture<Result<Sids, RoomServiceError>>

The type of value that this handler will return. Read more

impl Handler<CreateRoom> for RoomService[src]

type Result = Result<Sids, RoomServiceError>

The type of value that this handler will return. Read more

impl Handler<DeleteElements<Validated>> for RoomService[src]

type Result = ResponseFuture<Result<(), RoomServiceError>>

The type of value that this handler will return. Read more

impl Handler<Get> for RoomService[src]

type Result = ResponseFuture<Result<HashMap<StatefulFid, Element>, RoomServiceError>>

The type of value that this handler will return. Read more

impl Handler<StartStaticRooms> for RoomService[src]

type Result = Result<(), RoomServiceError>

The type of value that this handler will return. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]