pub enum DocumentationExtractionError {
InputTooLarge {
actual: usize,
maximum: usize,
},
SourcePathTooLong {
actual: usize,
maximum: usize,
},
InvalidServiceCatalog,
CatalogNestingTooDeep {
maximum: usize,
},
}Expand description
Failure returned by documentation and ownership extraction.
Variants§
InputTooLarge
Input exceeds the extraction byte budget.
SourcePathTooLong
Source path exceeds the retained path budget.
InvalidServiceCatalog
Service catalog is not valid declarative YAML or JSON.
CatalogNestingTooDeep
Service catalog nesting exceeds the traversal budget.
Trait Implementations§
Source§impl Clone for DocumentationExtractionError
impl Clone for DocumentationExtractionError
Source§fn clone(&self) -> DocumentationExtractionError
fn clone(&self) -> DocumentationExtractionError
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 DocumentationExtractionError
impl Debug for DocumentationExtractionError
Source§impl<'de> Deserialize<'de> for DocumentationExtractionError
impl<'de> Deserialize<'de> for DocumentationExtractionError
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
impl Eq for DocumentationExtractionError
Source§impl Error for DocumentationExtractionError
impl Error for DocumentationExtractionError
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 DocumentationExtractionError
Auto Trait Implementations§
impl Freeze for DocumentationExtractionError
impl RefUnwindSafe for DocumentationExtractionError
impl Send for DocumentationExtractionError
impl Sync for DocumentationExtractionError
impl Unpin for DocumentationExtractionError
impl UnsafeUnpin for DocumentationExtractionError
impl UnwindSafe for DocumentationExtractionError
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,
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§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.