Docs.rs
mosaik-api-0.1.0
mosaik-api 0.1.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
caemor
Dependencies
async-std ^1
normal
async-trait ^0.1
normal
futures ^0.3
normal
log ^0.4
normal
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^1.0
normal
clap ^4.5
dev
env_logger ^0.11
dev
mockall ^0.13
dev
Versions
79.25%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
mosaik_
api
0.1.0
All Items
Crate Items
Modules
Traits
Functions
Crate
mosaik_api
Copy item path
Source
Modules
§
mosaik_
protocol
JSON serialization and deserialization for Mosaik messages. And handling of Mosaik requests.
tcp
The async TCP-Manager for the communication between Mosaik and the simulators.
types
Mosaik types as defined in the
Mosaik API
Traits
§
Mosaik
Api
The
MosaikApi
trait defines the interface for a Mosaik simulator API. Errors will result in a Failure Response being sent to Mosaik containing the Error’s message and/or Stack Trace.
Functions
§
run_
simulation
Main calls this function with the simulator that should run and the direction with an address for the connection to mosaik.