pub enum CrlSourceConfig {
File {
path: PathBuf,
fetch_failure: CrlFetchFailure,
},
Url {
url: String,
fetch_failure: CrlFetchFailure,
},
}Expand description
One CRL source entry — file or URL, with a per-source
fetch_failure policy. Bytes are owned by the daemon-wide CRL
cache (vane_engine::tls::CrlCache); this struct only carries
the parsed schema.
Variants§
Trait Implementations§
Source§impl Clone for CrlSourceConfig
impl Clone for CrlSourceConfig
Source§fn clone(&self) -> CrlSourceConfig
fn clone(&self) -> CrlSourceConfig
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 CrlSourceConfig
impl Debug for CrlSourceConfig
Source§impl<'de> Deserialize<'de> for CrlSourceConfig
impl<'de> Deserialize<'de> for CrlSourceConfig
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
Source§impl PartialEq for CrlSourceConfig
impl PartialEq for CrlSourceConfig
Source§fn eq(&self, other: &CrlSourceConfig) -> bool
fn eq(&self, other: &CrlSourceConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CrlSourceConfig
impl Serialize for CrlSourceConfig
impl Eq for CrlSourceConfig
impl StructuralPartialEq for CrlSourceConfig
Auto Trait Implementations§
impl Freeze for CrlSourceConfig
impl RefUnwindSafe for CrlSourceConfig
impl Send for CrlSourceConfig
impl Sync for CrlSourceConfig
impl Unpin for CrlSourceConfig
impl UnsafeUnpin for CrlSourceConfig
impl UnwindSafe for CrlSourceConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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