pub struct LicenseKeyError(Error);
Expand description
The error type for invalid license key when verifying as JWT.
Tuple Fields§
§0: Error
Trait Implementations§
source§impl Clone for LicenseKeyError
impl Clone for LicenseKeyError
source§fn clone(&self) -> LicenseKeyError
fn clone(&self) -> LicenseKeyError
Returns a copy 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 Debug for LicenseKeyError
impl Debug for LicenseKeyError
source§impl Display for LicenseKeyError
impl Display for LicenseKeyError
source§impl Error for LicenseKeyError
impl Error for LicenseKeyError
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<LicenseKeyError> for CpuCoreLimitExceeded
impl From<LicenseKeyError> for CpuCoreLimitExceeded
source§fn from(source: LicenseKeyError) -> Self
fn from(source: LicenseKeyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LicenseKeyError
impl !RefUnwindSafe for LicenseKeyError
impl Send for LicenseKeyError
impl Sync for LicenseKeyError
impl Unpin for LicenseKeyError
impl !UnwindSafe for LicenseKeyError
Blanket Implementations§
§impl<T> AsReport for Twhere
T: Error,
impl<T> AsReport for Twhere
T: Error,
§fn as_report(&self) -> Report<'_>
fn as_report(&self) -> Report<'_>
Returns a [
Report
] that formats the error and its sources in a
cleaned-up way. Read more§fn to_report_string(&self) -> String
fn to_report_string(&self) -> String
Converts the error to a [
Report
] and formats it in a compact way. Read more§fn to_report_string_with_backtrace(&self) -> String
fn to_report_string_with_backtrace(&self) -> String
Converts the error to a [
Report
] and formats it in a compact way,
including backtraces if available. Read more§fn to_report_string_pretty(&self) -> String
fn to_report_string_pretty(&self) -> String
Converts the error to a [
Report
] and formats it in a pretty way. Read more§fn to_report_string_pretty_with_backtrace(&self) -> String
fn to_report_string_pretty_with_backtrace(&self) -> String
Converts the error to a [
Report
] and formats it in a pretty way, Read moresource§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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> ErrorIsFromTonicServerImpl for T
impl<T> ErrorIsFromTonicServerImpl for T
source§fn is_from_tonic_server_impl(&self) -> bool
fn is_from_tonic_server_impl(&self) -> bool
Returns whether the error is from the implementation of a tonic server, i.e., created
with
ToTonicStatus::to_status
. Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request