[][src]Crate murmur_grpc

Re-exports

pub use murmur_rpc::*;

Modules

murmur_rpc

Macros

join

Polls multiple futures simultaneously, returning a tuple of all results once complete.

Structs

DataMutex

This struct is a wrapper over an asynchronous Mutex that allows the contained value to be accessed inside or outside a tokio runtime asynchronously or not.

MurmurInterface
MurmurInterfaceBuilder
ThreadPool

Represents a user created thread-pool.

ThreadPoolBuilder

Used to create a new ThreadPool or to configure the global rayon thread pool.

Functions

add_connection_to_thread_pool
block_on

Run a future to completion on the current thread.

future_from_async

Turn an async block that return a bool into a boxed future.

future_from_bool

Turn a bool into a boxed future.

join_all

Creates a future which represents a collection of the outputs of the futures given.

runtime

Create a runtime in order to execute a single Future outside of a tokio runtime. This function will panic if it is called inside of a tokio runtime.

start

Start a connection to a Mumble server for each provided MurmurInterface

Type Definitions

Authenticator

Function that handles events on the Mumble server authentication stream. Returns a boolean which determines whether or not other functions will be able to process the authentication event it has handled (similar to cases falling through in a switch statement from other languages).

ChatFilter

Funtion that filters the text chat and determines whether to Block/Reject/Drop messages. Returns a boolean which determines whether or not other functions will be able to process the message it has filtered (similar to cases falling through in a switch statement from other languages). The function's body should mutate filter.

Client

Client is a more specific definiton for V1Client which owns the methods that communicate with the Mumble server.

ContextActionHandler

Function that handles events on the Mumble server context action stream. Returns a boolean which determines whether or not other functions will be able to process the authentication event it has handled (similar to cases falling through in a switch statement from other languages).

FutureBool
Handler

Function that handles Mumble server events. Returns a boolean which determines whether or not other functions will be allowed to process the event it has handled (similar to cases falling through in a switch statement from other languages).