pub enum Fetched {
Present(Value),
Absent,
Unknown(Unknown),
}Expand description
What one round trip established.
Variants§
Present(Value)
The repository holds records there. Always an array, each element
{"uri": …, "value": …} — one element for a reference naming one
record, one per record for a reference naming a collection. One
shape means a caller reads both the same way, and the uri is what a
refusal carries so a person can open the record it came from.
Absent
The repository answered, and holds nothing there: no record at that key, or no record in that collection.
Unknown(Unknown)
Neither was established; see Unknown.
Trait Implementations§
impl Eq for Fetched
impl StructuralPartialEq for Fetched
Auto Trait Implementations§
impl Freeze for Fetched
impl RefUnwindSafe for Fetched
impl Send for Fetched
impl Sync for Fetched
impl Unpin for Fetched
impl UnsafeUnpin for Fetched
impl UnwindSafe for Fetched
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.