pub enum DocsError {
MissingMarker,
DuplicateMarker,
MarkerOrder,
CountRowMissing,
CountRowAmbiguous,
CountRowMalformed,
}Expand description
Error from splicing the generated docs into docs/code-block-tools.md.
Variants§
MissingMarker
A begin/end marker pair is missing.
DuplicateMarker
A begin or end marker appears more than once.
MarkerOrder
The end marker precedes the begin marker.
CountRowMissing
The “Built-in tools” count row was not found in the comparison table.
CountRowAmbiguous
More than one “Built-in tools” count row was found.
CountRowMalformed
The “Built-in tools” count row does not have the expected cell layout.
Trait Implementations§
impl Eq for DocsError
Source§impl Error for DocsError
impl Error for DocsError
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()
impl StructuralPartialEq for DocsError
Auto Trait Implementations§
impl Freeze for DocsError
impl RefUnwindSafe for DocsError
impl Send for DocsError
impl Sync for DocsError
impl Unpin for DocsError
impl UnsafeUnpin for DocsError
impl UnwindSafe for DocsError
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.