Enum debian_packaging::repository::release::ReleaseFileDigest [−][src]
Expand description
A typed digest in a release file.
Variants
Md5(&'a str)
Tuple Fields
0: &'a strSha1(&'a str)
Tuple Fields
0: &'a strSha256(&'a str)
Tuple Fields
0: &'a strImplementations
Create a new instance given the checksum type and a digest value.
The name of the Release paragraph field from which this digest came.
Is also the by-hash path component.
Attempt to convert this instance to a ContentDigest.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
type Error = DebianError
type Error = DebianError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ReleaseFileDigest<'a>
impl<'a> Send for ReleaseFileDigest<'a>
impl<'a> Sync for ReleaseFileDigest<'a>
impl<'a> Unpin for ReleaseFileDigest<'a>
impl<'a> UnwindSafe for ReleaseFileDigest<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
