pub enum ChainDelivery {
Embedded {
chain: Vec<Vec<u8>>,
},
LogReference {
refs: Vec<LogRef>,
},
Hybrid {
immediate: Vec<Vec<u8>>,
refs: Vec<LogRef>,
},
}Expand description
How an artifact carries its delegation chain.
Variants§
Embedded
The full chain of DER certificates inline (offline-capable).
LogReference
Transparency-log sequence pointers for every chain credential.
Hybrid
Immediate chain inline, log references for freshness checks.
Implementations§
Source§impl ChainDelivery
impl ChainDelivery
Sourcepub fn is_offline_capable(&self) -> bool
pub fn is_offline_capable(&self) -> bool
Whether the strategy alone can reconstruct the full chain with no network access.
Trait Implementations§
Source§impl Clone for ChainDelivery
impl Clone for ChainDelivery
Source§fn clone(&self) -> ChainDelivery
fn clone(&self) -> ChainDelivery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChainDelivery
impl Debug for ChainDelivery
Source§impl<'de> Deserialize<'de> for ChainDelivery
impl<'de> Deserialize<'de> for ChainDelivery
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
Auto Trait Implementations§
impl Freeze for ChainDelivery
impl RefUnwindSafe for ChainDelivery
impl Send for ChainDelivery
impl Sync for ChainDelivery
impl Unpin for ChainDelivery
impl UnsafeUnpin for ChainDelivery
impl UnwindSafe for ChainDelivery
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