Enum backup_deduplicator::data::GeneralHashType
source · pub enum GeneralHashType {
SHA512,
SHA256,
SHA1,
XXH64,
XXH32,
NULL,
}Variants§
Implementations§
source§impl GeneralHashType
impl GeneralHashType
pub fn hasher(&self) -> Box<dyn GeneralHasher>
Trait Implementations§
source§impl Clone for GeneralHashType
impl Clone for GeneralHashType
source§fn clone(&self) -> GeneralHashType
fn clone(&self) -> GeneralHashType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GeneralHashType
impl Debug for GeneralHashType
source§impl<'de> Deserialize<'de> for GeneralHashType
impl<'de> Deserialize<'de> for GeneralHashType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for GeneralHashType
impl Display for GeneralHashType
source§impl FromStr for GeneralHashType
impl FromStr for GeneralHashType
source§impl Hash for GeneralHashType
impl Hash for GeneralHashType
source§impl PartialEq for GeneralHashType
impl PartialEq for GeneralHashType
source§fn eq(&self, other: &GeneralHashType) -> bool
fn eq(&self, other: &GeneralHashType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for GeneralHashType
impl Serialize for GeneralHashType
impl Copy for GeneralHashType
impl StructuralPartialEq for GeneralHashType
Auto Trait Implementations§
impl Freeze for GeneralHashType
impl RefUnwindSafe for GeneralHashType
impl Send for GeneralHashType
impl Sync for GeneralHashType
impl Unpin for GeneralHashType
impl UnwindSafe for GeneralHashType
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