pub enum CookieError {
Generic,
PathInvalid(String),
Invalid(String),
}
Expand description
§CookieError
Errors related to cookie handling and authentication.
These errors occur when there are issues with loading or using cookies for authenticated requests to YouTube.
Variants§
Generic
PathInvalid(String)
Error when the specified cookie file path is invalid or inaccessible
Invalid(String)
Error when the cookies are invalid (possibly expired or malformed)
Trait Implementations§
Source§impl Debug for CookieError
impl Debug for CookieError
Source§impl Display for CookieError
impl Display for CookieError
Source§impl Error for CookieError
impl Error for CookieError
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()
Auto Trait Implementations§
impl Freeze for CookieError
impl RefUnwindSafe for CookieError
impl Send for CookieError
impl Sync for CookieError
impl Unpin for CookieError
impl UnwindSafe for CookieError
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