pub enum MafaError {
Show 29 variants
Buggy,
BugFound(u16),
ClapMatchError(StyledStr),
InvalidTimeoutPageLoad,
InvalidTimeoutScript,
InvalidSocks5Proxy,
InvalidSourceLang,
InvalidTargetLang,
InvalidWords,
InvalidTwitterUsername,
InvalidNumTweets,
InvalidWrapWidth,
WebDrvCmdRejected(String, String),
UnexpectedWda(WdaError),
InvalidUseProfile,
FirefoxNotFound,
CacheRebuildFail(CacheRebuildFailKind),
CacheNotBuildable,
AllCachesInvalid,
DataFetchedNotReachable,
UpathNotFound,
UpathLenNotMatched,
UpathValNotMatched,
TweetNotRecoginized(u8),
CamdLevelNotRecoginized(u8),
CacheCorrupted,
MafaDataCacheNotFound,
RequireLogin,
MustGui,
}
Variants§
Buggy
BugFound(u16)
ClapMatchError(StyledStr)
InvalidTimeoutPageLoad
InvalidTimeoutScript
InvalidSocks5Proxy
InvalidSourceLang
InvalidTargetLang
InvalidWords
InvalidTwitterUsername
InvalidNumTweets
InvalidWrapWidth
WebDrvCmdRejected(String, String)
UnexpectedWda(WdaError)
InvalidUseProfile
corresponds to Wda InvalidBrowserProfileId error
FirefoxNotFound
corresponds to Wda BrowserBinaryNotFound error
CacheRebuildFail(CacheRebuildFailKind)
CacheNotBuildable
AllCachesInvalid
DataFetchedNotReachable
UpathNotFound
UpathLenNotMatched
UpathValNotMatched
TweetNotRecoginized(u8)
CamdLevelNotRecoginized(u8)
CacheCorrupted
MafaDataCacheNotFound
RequireLogin
MustGui
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MafaError
impl RefUnwindSafe for MafaError
impl Send for MafaError
impl Sync for MafaError
impl Unpin for MafaError
impl UnwindSafe for MafaError
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