Struct wicrs_server::server::Server[][src]

pub struct Server { /* fields omitted */ }

Server that handles socket clients and manages notifying them of new messages/changes as well as sending messages to be indexed by Tantivy.

Implementations

impl Server[src]

pub async fn new() -> Result<Self>[src]

Creates a new server with default options, also creates a MessageServer with the given commit_threshold (how many messages should be added to the search index before commiting to the index).

Trait Implementations

impl Actor for Server[src]

impl Handler<Connect> for Server[src]

impl Handler<Disconnect> for Server[src]

impl Handler<GetMessageServer> for Server[src]

impl Handler<SendMessage> for Server[src]

impl Handler<ServerNotification> for Server[src]

impl Handler<StartTyping> for Server[src]

impl Handler<StopTyping> for Server[src]

impl Handler<SubscribeChannel> for Server[src]

impl Handler<SubscribeHub> for Server[src]

impl Handler<UnsubscribeChannel> for Server[src]

impl Handler<UnsubscribeHub> for Server[src]

Auto Trait Implementations

impl !RefUnwindSafe for Server

impl Send for Server

impl Sync for Server

impl Unpin for Server

impl !UnwindSafe for Server

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

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

impl<T> Fruit for T where
    T: Send + Downcast, 
[src]

impl<T> Instrument for T[src]

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

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

type Err = Infallible

impl<T> Pointable for T

type Init = T

The type for initializers.

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>,