pub trait HoprNodeDbApi:
HoprDbTicketOperations<Error = Self::NodeDbError>
+ HoprDbPeersOperations<Error = Self::NodeDbError>
+ HoprDbProtocolOperations<Error = Self::NodeDbError> {
type NodeDbError: Error + Send + Sync + 'static;
}Expand description
Complete set of HOPR node database 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 NodeDbError: 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.