Enum nix_compat::nixhash::HashAlgo
source · pub enum HashAlgo {
Md5,
Sha1,
Sha256,
Sha512,
}
Expand description
This are the hash algorithms supported by cppnix.
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for HashAlgo
impl<'de> Deserialize<'de> for HashAlgo
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 NixSerialize for HashAlgo
impl NixSerialize for HashAlgo
source§impl PartialEq for HashAlgo
impl PartialEq for HashAlgo
impl Copy for HashAlgo
impl Eq for HashAlgo
impl StructuralPartialEq for HashAlgo
Auto Trait Implementations§
impl Freeze for HashAlgo
impl RefUnwindSafe for HashAlgo
impl Send for HashAlgo
impl Sync for HashAlgo
impl Unpin for HashAlgo
impl UnwindSafe for HashAlgo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)