pub enum Fetch {
Fetched {
key_id: String,
names: Vec<FetchedName>,
refused: Vec<String>,
cut: Option<Cut>,
},
Unreachable {
detail: String,
},
KeyDocFailed {
detail: String,
},
MeshDocFailed {
detail: String,
},
}Expand description
What one fetch of a host gave.
Variants§
Fetched
The key document and the mesh document passed, and the catalogue was read (perhaps cut).
Fields
§
names: Vec<FetchedName>The names that verified, by name.
Unreachable
No answer: a connection error, a timeout or a 5xx, of any request of the run (L8: not a withdrawal).
KeyDocFailed
The key document answered and failed the SPEC 9 checks (another host, no key valid at the run’s time, not a key document, a 4xx).
MeshDocFailed
The mesh document answered and failed: it disagrees with the key document on host or proto, or is not one.
Trait Implementations§
impl Eq for Fetch
impl StructuralPartialEq for Fetch
Auto Trait Implementations§
impl Forget for Fetch
impl Freeze for Fetchwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<FetchedName>: Freeze,
PhantomData<String>: Freeze,
impl Move for Fetch
impl RefUnwindSafe for Fetch
impl Send for Fetchwhere
RawVecInner: Send,
impl Sync for Fetchwhere
RawVecInner: Sync,
impl Unpin for Fetch
impl UnsafeUnpin for Fetchwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FetchedName>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Fetchwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.