pub trait HoprChainApi:
ChainReadAccountOperations<Error = Self::ChainError>
+ ChainWriteAccountOperations<Error = Self::ChainError>
+ ChainReadChannelOperations<Error = Self::ChainError>
+ ChainWriteChannelOperations<Error = Self::ChainError>
+ ChainEvents<Error = Self::ChainError>
+ ChainKeyOperations<Error = Self::ChainError>
+ ChainValues<Error = Self::ChainError>
+ ChainWriteTicketOperations<Error = Self::ChainError> {
type ChainError: Error + Send + Sync + 'static;
}Expand description
Complete set of HOPR on-chain operation APIs.
This trait is automatically implemented for types that implement all the individual chain API traits to be implemented with the same error.
Required Associated Types§
type ChainError: Error + Send + Sync + 'static
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.