Struct jamsocket_server::ServiceActor [−][src]
pub struct ServiceActor<J: JamsocketService> { /* fields omitted */ }Implementations
pub fn new(
ctx: &Context<Self>,
room_id: &str,
service_constructor: Arc<impl JamsocketServiceFactory<ServiceActorContext, Service = J>>,
recipient: Recipient<MessageFromServer>
) -> Option<Self>
Trait Implementations
Auto Trait Implementations
impl<J> RefUnwindSafe for ServiceActor<J> where
J: RefUnwindSafe,
impl<J> Send for ServiceActor<J>
impl<J> Sync for ServiceActor<J>
impl<J> Unpin for ServiceActor<J>
impl<J> UnwindSafe for ServiceActor<J> where
J: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more