#[non_exhaustive]pub enum SignatureFetch {
Present(Box<DownloadedArtifact>),
NotPublished,
#[non_exhaustive] NotModified {
etag: Option<String>,
},
}Expand description
Detached signature fetch.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Present(Box<DownloadedArtifact>)
Signature bytes. TEA does not define a checksum for the signature itself.
NotPublished
The revision exists and this format has no published signature.
#[non_exhaustive]NotModified
Conditional GET matched.
Trait Implementations§
Source§impl Clone for SignatureFetch
impl Clone for SignatureFetch
Source§impl Debug for SignatureFetch
impl Debug for SignatureFetch
impl Eq for SignatureFetch
Source§impl PartialEq for SignatureFetch
impl PartialEq for SignatureFetch
impl StructuralPartialEq for SignatureFetch
Auto Trait Implementations§
impl Forget for SignatureFetch
impl Freeze for SignatureFetch
impl RefUnwindSafe for SignatureFetch
impl Send for SignatureFetch
impl Sync for SignatureFetch
impl Unpin for SignatureFetch
impl UnsafeUnpin for SignatureFetch
impl UnwindSafe for SignatureFetch
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