Re-exports§
pub use commands_module::CommandsModule;
pub use commands_module::ResponsePromise;
pub use commands_module::ResultPromise;
pub use credentials_module::CredentialsModule;
pub use sessions_module::SessionsModule;
pub use versions_module::VersionsModule;
pub use common::*;
pub use types::*;
Modules§
- commands_
module - Commands module
- common
- credentials_
module - 7. Credentials module
- locations_
module - sessions_
module - Sessions module
- types
- credentials/types/mod.rs
- versions_
module - 6. Versions module
- warp
Structs§
- Client
- Implements the different OCPI calls as a client.
- Context
- Context
Result - Cpo
- Cpo implements the CPO role of the OCPI Protocol.
- Mpsc
Commands Handler - NoCommands
Handler - Response
- An Ocpi Response structure.
- Simple
Versions Store
Enums§
- Authorized
- Client
Error - 5.2. 2xxx: Client errors
- Error
- HubError
- 5.4. 4xxx: Hub errors
- Server
Error - 5.3. 3xxx: Server errors
Traits§
- Into
Context Result - Party
- Represents a Party in the Ocpi Protocol.
- Party
Store - Sessions
Store - Store
- Versions
Store
Type Aliases§
- Result
- The Result type used by all OCPI functions. Can be converted in a Response