Enum librsync::SignatureType
source · pub enum SignatureType {
MD4,
Blake2,
}
Expand description
The signature type.
Variants§
MD4
A signature file with MD4 signatures.
Backward compatible with librsync < 1.0, but deprecated because of a security vulnerability.
Blake2
A signature file using BLAKE2 hash.
Trait Implementations§
source§impl Clone for SignatureType
impl Clone for SignatureType
source§fn clone(&self) -> SignatureType
fn clone(&self) -> SignatureType
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 SignatureType
impl Debug for SignatureType
source§impl PartialEq<SignatureType> for SignatureType
impl PartialEq<SignatureType> for SignatureType
source§fn eq(&self, other: &SignatureType) -> bool
fn eq(&self, other: &SignatureType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.