Struct jamsocket_server::ServiceActor
source ·
[−]pub struct ServiceActor<J: JamsocketService> { /* fields omitted */ }Implementations
pub fn new(
ctx: &Context<Self>,
service_factory: 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
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
