pub enum TokenFormatError {
Empty,
MissingSeparator,
EmptySecret,
InvalidBaseUrl(String),
}Expand description
Errors raised when parsing an OpenApp API-key token.
Variants§
Trait Implementations§
Source§impl Clone for TokenFormatError
impl Clone for TokenFormatError
Source§fn clone(&self) -> TokenFormatError
fn clone(&self) -> TokenFormatError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TokenFormatError
impl Debug for TokenFormatError
Source§impl Display for TokenFormatError
impl Display for TokenFormatError
Source§impl Error for TokenFormatError
impl Error for TokenFormatError
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 From<TokenFormatError> for SdkError
impl From<TokenFormatError> for SdkError
Source§fn from(source: TokenFormatError) -> SdkError
fn from(source: TokenFormatError) -> SdkError
Converts to this type from the input type.
Source§impl PartialEq for TokenFormatError
impl PartialEq for TokenFormatError
Source§fn eq(&self, other: &TokenFormatError) -> bool
fn eq(&self, other: &TokenFormatError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TokenFormatError
impl StructuralPartialEq for TokenFormatError
Auto Trait Implementations§
impl Freeze for TokenFormatError
impl RefUnwindSafe for TokenFormatError
impl Send for TokenFormatError
impl Sync for TokenFormatError
impl Unpin for TokenFormatError
impl UnsafeUnpin for TokenFormatError
impl UnwindSafe for TokenFormatError
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