pub trait HintSource {
type Error;
// Required method
fn next_hint(&mut self) -> Result<Option<(TxId, Hint)>, Self::Error>;
}Expand description
The host’s callbacks, SSE listener, polls or other hint inputs.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".