pub struct UnknownCause {
pub operation: String,
pub subject: String,
pub error: String,
}Expand description
The read that failed, for a branch kept as KeepReason::Unknown: which read it
was, what it read, and the error it got — so a kept branch says what to look at
rather than only that something could not be read.
Fields§
§operation: StringThe read that failed: census, copy, live-holder, worked-in, judge,
supersession, open-change or host-consult.
subject: StringWhat it read: a path, the origin, or a change request.
error: StringThe error it got.
Trait Implementations§
Source§impl Clone for UnknownCause
impl Clone for UnknownCause
Source§impl Debug for UnknownCause
impl Debug for UnknownCause
Source§impl<'de> Deserialize<'de> for UnknownCause
impl<'de> Deserialize<'de> for UnknownCause
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UnknownCause
impl Display for UnknownCause
impl Eq for UnknownCause
Source§impl Ord for UnknownCause
impl Ord for UnknownCause
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for UnknownCause
impl PartialEq for UnknownCause
Source§impl PartialOrd for UnknownCause
impl PartialOrd for UnknownCause
Source§impl Serialize for UnknownCause
impl Serialize for UnknownCause
impl StructuralPartialEq for UnknownCause
Auto Trait Implementations§
impl Freeze for UnknownCause
impl RefUnwindSafe for UnknownCause
impl Send for UnknownCause
impl Sync for UnknownCause
impl Unpin for UnknownCause
impl UnsafeUnpin for UnknownCause
impl UnwindSafe for UnknownCause
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
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.