pub enum AcquireCookieError {
Cancelled,
UnsupportedConfiguration,
CookieNameMismatch {
expected: String,
actual: String,
},
RepositoryGetError(String),
RepositorySaveError(String),
}Expand description
Errors that can occur during cookie acquisition
Variants§
Cancelled
Cookie acquisition was cancelled by the user
UnsupportedConfiguration
The server configuration does not support cookie acquisition
CookieNameMismatch
The acquired cookie name does not match the expected cookie name
Fields
RepositoryGetError(String)
Failed to retrieve server configuration from repository
RepositorySaveError(String)
Failed to save updated configuration to repository
Trait Implementations§
Source§impl Clone for AcquireCookieError
impl Clone for AcquireCookieError
Source§fn clone(&self) -> AcquireCookieError
fn clone(&self) -> AcquireCookieError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<UT> ConvertError<UT> for AcquireCookieError
impl<UT> ConvertError<UT> for AcquireCookieError
fn try_convert_unexpected_callback_error( e: UnexpectedUniFFICallbackError, ) -> Result<Self>
Source§impl Debug for AcquireCookieError
impl Debug for AcquireCookieError
Source§impl Display for AcquireCookieError
impl Display for AcquireCookieError
Source§impl Error for AcquireCookieError
impl Error for AcquireCookieError
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()
Source§impl FlatError for AcquireCookieError
impl FlatError for AcquireCookieError
fn error_variant(&self) -> &'static str
Source§impl From<AcquireCookieError> for JsValue
impl From<AcquireCookieError> for JsValue
Source§fn from(error: AcquireCookieError) -> Self
fn from(error: AcquireCookieError) -> Self
Converts to this type from the input type.
Source§impl<UT> Lift<UT> for AcquireCookieError
impl<UT> Lift<UT> for AcquireCookieError
Source§impl<UT> Lower<UT> for AcquireCookieError
impl<UT> Lower<UT> for AcquireCookieError
Source§impl<UT> LowerError<UT> for AcquireCookieError
impl<UT> LowerError<UT> for AcquireCookieError
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Lower this value for scaffolding function return Read more
Source§impl PartialEq for AcquireCookieError
impl PartialEq for AcquireCookieError
Source§impl<UT> TypeId<UT> for AcquireCookieError
impl<UT> TypeId<UT> for AcquireCookieError
const TYPE_ID_META: MetadataBuffer
impl Eq for AcquireCookieError
impl StructuralPartialEq for AcquireCookieError
Auto Trait Implementations§
impl Freeze for AcquireCookieError
impl RefUnwindSafe for AcquireCookieError
impl Send for AcquireCookieError
impl Sync for AcquireCookieError
impl Unpin for AcquireCookieError
impl UnwindSafe for AcquireCookieError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more