[][src]Trait temp_file_name::HashToString

pub trait HashToString {
    fn hash_to_string(&self) -> String;
fn as_hash(&self) -> u64; }

Use the hash of this object for various purposes, such as generating a unique filename

Required methods

fn hash_to_string(&self) -> String

get a string of the hash of this object; useful for things like filenames

fn as_hash(&self) -> u64

get the hash of this object

Loading content...

Implementors

impl<T> HashToString for T where
    T: Hash
[src]

Loading content...