Skip to main content

CommandHasher

Trait CommandHasher 

Source
pub trait CommandHasher: Send + Sync {
    // Required method
    fn command_hash<C: Command>(
        &self,
        command: &C,
    ) -> Result<CommandHash, CommandHasherError>;
}

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§