[−][src]Module tdb_server_core::prelude
Re-exports
pub use crate::settings::Settings; |
pub use crate::settings::key_or_default; |
pub use crate::settings::key_or_none; |
pub use crate::state::TectonicServer; |
pub use crate::state::Book; |
pub use crate::handler::ReturnType; |
pub use crate::handler::Command; |
pub use crate::handler::Event; |
pub use crate::handler::Void; |
pub use crate::handler::ReqCount; |
pub use crate::handler::GetFormat; |
pub use crate::handler::ReadLocation; |
pub use crate::utils; |
Modules
dtf | DTF(Dense Tick Format) implmentation |
mpsc | A multi-producer, single-consumer queue for sending values across asynchronous tasks. |
oneshot | A channel for sending a single message between asynchronous tasks. |
task | Types and traits for working with asynchronous tasks. |
Macros
task_local | Declares task-local values. |
Structs
Arc | A thread-safe reference-counting pointer. 'Arc' stands for 'Atomically Reference Counted'. |
ArrayString | A string with a fixed capacity. |
BufReader | Adds buffering to any reader. |
BufWriter | Wraps a writer and buffers its output. |
HashMap | A hash map implemented with quadratic probing and SIMD lookup. |
Path | A slice of a path (akin to |
Receiver | The receiving end of a bounded mpsc channel. |
Sender | The transmission end of a bounded mpsc channel. |
TcpListener | A TCP socket server, listening for connections. |
TcpStream | A TCP stream between a local and a remote socket. |
Update | Represents an L2 orderbook update |
Enums
Cow | A clone-on-write smart pointer. |
Entry | A view into a single entry in a map, which may either be vacant or occupied. |
SocketAddr | An internet socket address, either IPv4 or IPv6. |
Constants
CHANNEL_SZ |
Traits
Borrow | A trait for borrowing data. |
Future | A future represents an asynchronous computation. |
FutureExt | An extension trait for |
FutureExt | Extension methods for |
SinkExt | An extension trait for |
Stream | A stream of values produced asynchronously. |
StreamExt | An extension trait for |
StreamExt | Extension methods for |
ToSocketAddrs | Converts or resolves addresses to |
UpdateVecConvert | convertion methods for slice of |
_ | Read bytes asynchronously. |
_ | Extension methods for |
_ | Extension methods for |
_ | Extension methods for |
_ | Extension methods for |
_ | Read bytes asynchronously. |
_ | Seek bytes asynchronously. |
_ | Write bytes asynchronously. |
Functions
within_range | check if two ranges intersect |
Type Definitions
BookName | |
Result |