Enum viz_core::types::CookiesError
source · pub enum CookiesError {
Read,
Parse,
}
Available on crate feature
cookie
only.Expand description
Rejects a error thats reading or parsing the cookies.
Variants§
Trait Implementations§
source§impl Debug for CookiesError
impl Debug for CookiesError
source§impl Display for CookiesError
impl Display for CookiesError
source§impl Error for CookiesError
impl Error for CookiesError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CookiesError> for Error
impl From<CookiesError> for Error
source§fn from(e: CookiesError) -> Self
fn from(e: CookiesError) -> Self
Converts to this type from the input type.
source§impl IntoResponse for CookiesError
impl IntoResponse for CookiesError
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Convert self to HTTP
Response
.source§fn into_error(self) -> Error
fn into_error(self) -> Error
Convert self to the
Error
.Auto Trait Implementations§
impl Freeze for CookiesError
impl RefUnwindSafe for CookiesError
impl Send for CookiesError
impl Sync for CookiesError
impl Unpin for CookiesError
impl UnwindSafe for CookiesError
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