pub enum CrlSourceId {
File(PathBuf),
Url(String),
}Expand description
Source identity used as the cache key. The fingerprint hashes the path / URL string, not the fetched bytes — so refresh cycles never invalidate downstream caches keyed off this identity.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CrlSourceId
impl Clone for CrlSourceId
Source§fn clone(&self) -> CrlSourceId
fn clone(&self) -> CrlSourceId
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 CrlSourceId
impl Debug for CrlSourceId
Source§impl Hash for CrlSourceId
impl Hash for CrlSourceId
Source§impl Ord for CrlSourceId
impl Ord for CrlSourceId
Source§fn cmp(&self, other: &CrlSourceId) -> Ordering
fn cmp(&self, other: &CrlSourceId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CrlSourceId
impl PartialEq for CrlSourceId
Source§fn eq(&self, other: &CrlSourceId) -> bool
fn eq(&self, other: &CrlSourceId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CrlSourceId
impl PartialOrd for CrlSourceId
impl Eq for CrlSourceId
impl StructuralPartialEq for CrlSourceId
Auto Trait Implementations§
impl Freeze for CrlSourceId
impl RefUnwindSafe for CrlSourceId
impl Send for CrlSourceId
impl Sync for CrlSourceId
impl Unpin for CrlSourceId
impl UnsafeUnpin for CrlSourceId
impl UnwindSafe for CrlSourceId
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