pub enum DocumentProblem {
UnknownDocument {
event: EventHash,
document: DocumentId,
},
Duplicate {
event: EventHash,
document: DocumentId,
},
}Expand description
Something about the documents of a set of books that needs review: never resolved silently.
Variants§
UnknownDocument
A booking based on a document that has not been recorded – perhaps not arrived yet.
Duplicate
A document recorded again under the same identity.
Trait Implementations§
Source§impl Clone for DocumentProblem
impl Clone for DocumentProblem
Source§fn clone(&self) -> DocumentProblem
fn clone(&self) -> DocumentProblem
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 DocumentProblem
impl Debug for DocumentProblem
Source§impl Display for DocumentProblem
impl Display for DocumentProblem
impl Eq for DocumentProblem
Source§impl Error for DocumentProblem
impl Error for DocumentProblem
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DocumentProblem
impl PartialEq for DocumentProblem
impl StructuralPartialEq for DocumentProblem
Auto Trait Implementations§
impl Freeze for DocumentProblem
impl RefUnwindSafe for DocumentProblem
impl Send for DocumentProblem
impl Sync for DocumentProblem
impl Unpin for DocumentProblem
impl UnsafeUnpin for DocumentProblem
impl UnwindSafe for DocumentProblem
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