Party

Trait Party 

Source
pub trait Party
where Self: Clone + Sync + Send + 'static,
{ type Id: Sync + Send + 'static; // Required methods fn id(&self) -> Self::Id; fn token_we_use(&self) -> CredentialsToken; fn token_they_use(&self) -> CredentialsToken; }
Expand description

Represents a Party in the Ocpi Protocol.

Required Associated Types§

Source

type Id: Sync + Send + 'static

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§