pub enum LiveDocError {
Schema(String),
DecisionId,
TooMany {
what: &'static str,
count: usize,
},
TextTooLong {
what: &'static str,
},
Attribution {
attempt_id: String,
},
}Expand description
Why a live document is not well formed.
Variants§
Schema(String)
DecisionId
A decision id outside 1 to 256 bytes, or equal to the historical one.
TooMany
TextTooLong
Attribution
An effect or unreconciled attempt that is not the new decision’s.
Trait Implementations§
Source§impl Clone for LiveDocError
impl Clone for LiveDocError
Source§impl Debug for LiveDocError
impl Debug for LiveDocError
Source§impl Display for LiveDocError
impl Display for LiveDocError
impl Eq for LiveDocError
Source§impl Error for LiveDocError
impl Error for LiveDocError
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 LiveDocError
impl PartialEq for LiveDocError
impl StructuralPartialEq for LiveDocError
Auto Trait Implementations§
impl Freeze for LiveDocError
impl RefUnwindSafe for LiveDocError
impl Send for LiveDocError
impl Sync for LiveDocError
impl Unpin for LiveDocError
impl UnsafeUnpin for LiveDocError
impl UnwindSafe for LiveDocError
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