pub enum ProfileError {
Unknown(String),
NotRegistered,
Launch(LaunchError),
Execution(ExecutionError),
}Expand description
An error during profiling.
Variants§
Unknown(String)
Unknown error.
NotRegistered
When no profiling has been registered.
Launch(LaunchError)
An error happened when launching a kernel.
Execution(ExecutionError)
An error happened when executing runtime operations.
Trait Implementations§
Source§impl Clone for ProfileError
impl Clone for ProfileError
Source§fn clone(&self) -> ProfileError
fn clone(&self) -> ProfileError
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 Debug for ProfileError
impl Debug for ProfileError
Source§impl From<ExecutionError> for ProfileError
impl From<ExecutionError> for ProfileError
Source§fn from(val: ExecutionError) -> Self
fn from(val: ExecutionError) -> Self
Converts to this type from the input type.
Source§impl From<LaunchError> for ProfileError
impl From<LaunchError> for ProfileError
Source§fn from(val: LaunchError) -> Self
fn from(val: LaunchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProfileError
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