Enum relay_profiling::ProfileError
source · pub enum ProfileError {
Show 14 variants
InvalidJson(Error<Error>),
InvalidBase64Value,
InvalidSampledProfile,
CannotSerializePayload,
NotEnoughSamples,
PlatformNotSupported,
NoTransactionAssociated,
InvalidTransactionMetadata,
MissingProfileMetadata,
MalformedStacks,
MalformedSamples,
ExceedSizeLimit,
TooManyProfiles,
DurationIsTooLong,
}
Variants§
InvalidJson(Error<Error>)
InvalidBase64Value
InvalidSampledProfile
CannotSerializePayload
NotEnoughSamples
PlatformNotSupported
NoTransactionAssociated
InvalidTransactionMetadata
MissingProfileMetadata
MalformedStacks
MalformedSamples
ExceedSizeLimit
TooManyProfiles
DurationIsTooLong
Implementations§
Trait Implementations§
source§impl Debug for ProfileError
impl Debug for ProfileError
source§impl Display for ProfileError
impl Display for ProfileError
source§impl Error for ProfileError
impl Error for ProfileError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ProfileError
impl Send for ProfileError
impl Sync for ProfileError
impl Unpin for ProfileError
impl !UnwindSafe for ProfileError
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