pub enum ApidocResolveError {
DevelopmentVersion {
major: u32,
minor: u32,
},
DirectoryNotFound,
JsonNotFound {
path: PathBuf,
major: u32,
minor: u32,
},
VersionError(PerlConfigError),
}Expand description
apidoc 解決エラー
Variants§
DevelopmentVersion
開発版 Perl(奇数マイナーバージョン)
DirectoryNotFound
apidoc ディレクトリが見つからない
JsonNotFound
対応する JSON ファイルが見つからない
VersionError(PerlConfigError)
Perl バージョン取得エラー
Trait Implementations§
Source§impl Debug for ApidocResolveError
impl Debug for ApidocResolveError
Source§impl Display for ApidocResolveError
impl Display for ApidocResolveError
Source§impl Error for ApidocResolveError
impl Error for ApidocResolveError
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<ApidocResolveError> for InferError
impl From<ApidocResolveError> for InferError
Source§fn from(e: ApidocResolveError) -> Self
fn from(e: ApidocResolveError) -> Self
Converts to this type from the input type.
Source§impl From<PerlConfigError> for ApidocResolveError
impl From<PerlConfigError> for ApidocResolveError
Source§fn from(e: PerlConfigError) -> Self
fn from(e: PerlConfigError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApidocResolveError
impl RefUnwindSafe for ApidocResolveError
impl Send for ApidocResolveError
impl Sync for ApidocResolveError
impl Unpin for ApidocResolveError
impl UnsafeUnpin for ApidocResolveError
impl UnwindSafe for ApidocResolveError
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