Module wicrs_server::server[][src]

Expand description

Server implementation.

Modules

client_command

Structs

GetMessageServer

Tells the Server to get an address to it’s MessageServer.

MessageSchemaFields

Fields for the Tantivy message schema.

MessageServer
NewMessageForIndex

Message to tell the message server that there is a new message in a channel.

SearchMessageIndex

Command for a MessageServer to search the given channel with a query.

Server

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

Enums

HubUpdateType

Types of updates that trigger ServerNotification::HubUpdated

ServerNotification

Message to notify the server of a change made externally, usually used so the server can notify clients.

Functions

add_message_to_writer

Adds a message to a Tantivy IndexWriter.

Type Definitions

ConnectedMap
IndexMap
IndexReaderMap
IndexWriterMap
PendingMessageMap
SubscribedChannelMap
SubscribedHubMap
SubscribedMap