pub enum KnownLayers {
Known {
source: String,
line: Option<String>,
layers: Vec<String>,
},
Unknown {
why: String,
},
}Expand description
What the signer could see of a line’s layers when it validated an advisory (REQ-ADVISORY-002).
The distinction is the whole point. An affected id is only checkable
against a LISTING of the line — the realm’s signed line-index. A deposit
layout holds one layer, so it is not a listing, and treating it as one
would refuse advisories about layers that exist perfectly well elsewhere.
Where no listing is in reach the check cannot be run, and the caller must
be told WHICH check was skipped rather than handed a success that implies
a complete one.
Variants§
Known
The ids the signer could enumerate, and where they came from.
Fields
Unknown
The signer could not see the line’s layers, and why not.
Implementations§
Source§impl KnownLayers
impl KnownLayers
Trait Implementations§
Source§impl Clone for KnownLayers
impl Clone for KnownLayers
Source§fn clone(&self) -> KnownLayers
fn clone(&self) -> KnownLayers
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 KnownLayers
impl Debug for KnownLayers
impl Eq for KnownLayers
Source§impl PartialEq for KnownLayers
impl PartialEq for KnownLayers
impl StructuralPartialEq for KnownLayers
Auto Trait Implementations§
impl Freeze for KnownLayers
impl RefUnwindSafe for KnownLayers
impl Send for KnownLayers
impl Sync for KnownLayers
impl Unpin for KnownLayers
impl UnsafeUnpin for KnownLayers
impl UnwindSafe for KnownLayers
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