pub enum Poll {
Unchanged,
Accepted(Verified),
Refused(String),
Stale(String),
Integrity(String),
}Variants§
Unchanged
Nothing at the path, or the same document as the cache.
Accepted(Verified)
A newer valid document: now in force and cached.
Refused(String)
Validly signed but not taken: older than the cache, a second document with the cache’s sequence number, or unparseable. The cache stays in force.
Stale(String)
Unreadable: the cache stays in force (a stale or unreachable source, §9).
Integrity(String)
An invalid signature (§12d Integrity).
Trait Implementations§
impl Eq for Poll
impl StructuralPartialEq for Poll
Auto Trait Implementations§
impl Freeze for Poll
impl RefUnwindSafe for Poll
impl Send for Poll
impl Sync for Poll
impl Unpin for Poll
impl UnsafeUnpin for Poll
impl UnwindSafe for Poll
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