pub enum GeneratedClientError {
UnsupportedPath(String),
InvalidMetadata(Error),
UnsafePath(String),
LimitExceeded(ExtractionLimitExceeded),
}Expand description
Error returned for malformed generated-client metadata.
Variants§
UnsupportedPath(String)
Path is not a supported public metadata artifact.
InvalidMetadata(Error)
Structured metadata is malformed.
UnsafePath(String)
Metadata contains an unsafe repository-relative path.
LimitExceeded(ExtractionLimitExceeded)
Extraction exceeded one configured invocation resource.
Trait Implementations§
Source§impl Debug for GeneratedClientError
impl Debug for GeneratedClientError
Source§impl Display for GeneratedClientError
impl Display for GeneratedClientError
Source§impl Error for GeneratedClientError
impl Error for GeneratedClientError
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 From<Error> for GeneratedClientError
impl From<Error> for GeneratedClientError
Source§impl From<ExtractionLimitExceeded> for GeneratedClientError
impl From<ExtractionLimitExceeded> for GeneratedClientError
Source§fn from(source: ExtractionLimitExceeded) -> Self
fn from(source: ExtractionLimitExceeded) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GeneratedClientError
impl !UnwindSafe for GeneratedClientError
impl Freeze for GeneratedClientError
impl Send for GeneratedClientError
impl Sync for GeneratedClientError
impl Unpin for GeneratedClientError
impl UnsafeUnpin for GeneratedClientError
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