Crate libmoshpit

Crate libmoshpit 

Source
Expand description

libmoshpit - moshpit library

Structs§

Connection
A connection over a TcpStream and BytesMut buffer.
ConnectionReader
A reader over a ReadHalf and BytesMut buffer.
ConnectionWriter
A writer over a WriteHalf and BytesMut buffer.
FileLayer
Tracing configuration
Layer
Tracing configuration
Mps
Used in bartoc configuration to define the bartos instance to connect to
Tracing
Tracing configuration
UdpClient
UDP client data
UuidWrapper
A Uuid wrapper that implements bincode::Encode and bincode::Decode

Enums§

EncryptedFrame
A moshpit frame.
Frame
A moshpit frame.
MoshpitError
Errors that can occur in moshpit
UdpState
State needed for UDP communication

Traits§

PathDefaults
Trait to allow default paths to be supplied to load
TracingConfigExt
Extension trait for TracingConfig to add additional configuration options

Functions§

clap_or_error
Converts an anyhow::Error into a suitable exit code or clap message for a CLI application.
init_tracing
Initialize tracing
load
Load the configuration
success
Indicates successful execution of a function, returning exit code 0.
to_path_buf
Convert a string to a PathBuf