pub trait SipHash {
    // Required method
    fn set_keys(&self, k0: u64, k1: u64) -> Result<(), ErrorCode>;
}Required Methods§
Sourcefn set_keys(&self, k0: u64, k1: u64) -> Result<(), ErrorCode>
 
fn set_keys(&self, k0: u64, k1: u64) -> Result<(), ErrorCode>
Optionally call before Hasher::run() to specify the keys used
The possible ErrorCodes are:
- BUSY: The system is busy
 - ALREADY: An operation is already on going
 - INVAL: An invalid parameter was supplied
 - NOSUPPORT: The operation is not supported