Expand description
barto library
Structs§
- Actix
- hosts configuration
- Bartoc
Info - bartoc client system information
- Bartos
- bartos configuration for clients
- Bincode
- Wrapper type to handle keys and values using bincode serialization
- Client
Data - bartoc client data
- Command
- A command to run on a worker
- Hour
Minute Second - An hour, minute, and second combination
- Initialize
- An initialization message from bartos to a named bartoc client.
- Mariadb
- hosts configuration
- Offset
Data Time Wrapper - An
OffsetDateTime
wrapper that implementsbincode::Encode
andbincode::Decode
- Output
- An output record from a bartoc client
- Realtime
- A realtime schedule
- Schedule
- A schedule
- Schedules
- The schedule to run commands on a given worker client
- Status
- An output record from a bartoc client
- Tracing
- Tracing configuration
- Uuid
Wrapper - A
Uuid
wrapper that implementsbincode::Encode
andbincode::Decode
- Year
Month Day - A year month day combinations
Enums§
- Barto
Cli - A message from a worker client to a worker session
- Bartoc
- A message from a worker client to a worker session
- Bartoc
Ws - A message from a worker client to a worker session
- Bartos
ToBarto Cli - An initialization message from bartos to a named bartoc client.
- Bartos
ToBartoc - A message from a worker client to a worker session
- Data
- A record of data from a bartoc client
- Day
- The date for a realtime schedule
- DayOf
Week - The day of the week for a realtime schedule
- Error
- Error types for the barto library
- Hour
- The hour for a realtime schedule
- Minute
- The minute for a realtime schedule
- Missed
Tick - The output table name
- Month
- The month for a realtime schedule
- Output
Kind - The kind of output (stdout or stderr)
- Output
Table Name - The output table name
- Second
- The seconds for a realtime schedule
- Status
Table Name - The status table name
- Year
- The year for a realtime schedule
Traits§
- Path
Defaults - Trait to allow default paths to be supplied to
load
- TlsConfig
- A trait for types that provide TLS configuration details.
- Tracing
Config Ext - 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. - header
- Generate a pretty header
- init_
tracing - Initialize tracing
- load
- Load the configuration
- load_
tls_ config - Generates a
ServerConfig
for TLS using the provided configuration. - parse_
ts_ ping - Parse a received timestamp ping
- send_
ts_ ping - Send a timestamp ping
- success
- Indicates successful execution of a function, returning exit code 0.
- to_
path_ buf - Convert a string to a
PathBuf