Enum rpm::FileDigest [−][src]
pub enum FileDigest {
Md5(Vec<u8>),
Sha2_256(Vec<u8>),
Sha2_384(Vec<u8>),
Sha2_512(Vec<u8>),
Sha2_224(Vec<u8>),
}
Variants
Implementations
pub fn load_from_str(
algorithm: FileDigestAlgorithm,
stringly_data: impl AsRef<str>
) -> Result<Self, RPMError>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FileDigest
impl Send for FileDigest
impl Sync for FileDigest
impl Unpin for FileDigest
impl UnwindSafe for FileDigest
Blanket Implementations
Mutably borrows from an owned value. Read more