pub struct HasherData { /* private fields */ }Implementations§
Source§impl HasherData
impl HasherData
pub fn new() -> HasherData
pub fn contains_configuration(&self, version: &str) -> bool
pub fn insert_configuration(&mut self, version: &str, cfg: Box<HasherConfig>)
pub fn get_all_versions(&self) -> Vec<&String>
pub fn get_latest_version(&self) -> &str
pub fn get_config<'a>(&'a self, version: &str) -> Option<&'a Box<HasherConfig>>
Auto Trait Implementations§
impl Freeze for HasherData
impl RefUnwindSafe for HasherData
impl Send for HasherData
impl Sync for HasherData
impl Unpin for HasherData
impl UnsafeUnpin for HasherData
impl UnwindSafe for HasherData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more