pub enum NsysQueryError {
Show 104 variants
InternalUnsupportedKind {
verb: &'static str,
kind: &'static str,
},
InternalSqlKindTagInvalid {
verb: &'static str,
kind: String,
},
InternalNvtxAttributionUnsupportedKind {
verb: &'static str,
kind: &'static str,
},
InternalStatsRowMissing {
query: &'static str,
},
InternalNcuCommandLaunchRecipeSelectionMissing {
selector: &'static str,
},
InternalNcuCommandSqlRowMissing {
query: &'static str,
},
InternalSliceBuilderMissing {
row_id: i64,
},
NvtxReverseSidecarLoad {
mode: &'static str,
source: Box<NsysDataError>,
},
TraceOpen {
source: Box<NsysDataError>,
},
CorrelationIndexLoad {
source: Box<NsysDataError>,
},
HardwareExtract {
source: Box<NsysDataError>,
},
TimeWindowResolve {
source: Box<NsysDataError>,
},
Data {
source: Box<NsysDataError>,
},
SummaryMetaLoad {
source: Box<NsysDataError>,
},
NvtxParentSidecarEnsure {
source: Box<NsysDataError>,
},
NvtxNestingLoad {
source: Box<NsysDataError>,
},
NvtxTreeLoad {
source: Box<NsysDataError>,
},
Sql {
area: &'static str,
phase: SqlPhase,
label: String,
source: Error,
},
LimitTooSmall {
limit: usize,
},
PositiveDurationInvalid {
flag: String,
value: String,
source: TimeParseError,
},
PositiveDurationTooSmall {
flag: String,
ns: i64,
},
NameFilterConflict,
SearchCpuSampleUnsupported,
SearchSortInvalid {
source: SortParseError,
},
TimelineIntervalInvalid {
value: String,
source: TimeParseError,
},
TimelineIntervalTooSmall {
interval_ns: i64,
},
TimelineKindNotAllowed {
kind: &'static str,
},
VizTimelineWindowRequired,
VizTimelineUnknownTrackKind {
kind: String,
},
VizTimelineInvalidSelector {
selector: String,
},
VizTimelineUnknownSelector {
kind: String,
selector: String,
},
VizTimelineSelectorNonNegativeInt {
selector: String,
},
VizTimelineSelectorPositiveInt {
selector: String,
},
VizTimelineHighlightTopRequired,
VizTimelineUnknownHighlightScope {
scope: String,
},
VizTimelineUnknownHighlightMetric {
metric: String,
},
VizTimelineCudaStreamDeviceRequired,
VizTimelineCudaStreamStreamRequired,
VizTimelineCudaStreamDeviceAll,
VizTimelineArtifact {
source: VisualizationError,
},
SlicesUnknownGroupBy {
group_by: String,
},
SlicesSortInvalid {
source: SortParseError,
},
SlicesPrereqTableMissing {
table: &'static str,
},
SlicesGpuEventTableMissing,
NvtxAttributionPrereqTableMissing {
table: &'static str,
},
NvtxAttributionNoAttributableTableMatch,
NvtxAttributionContextInfoMissing,
GraphReplaysNvtxPrereqTableMissing {
table: &'static str,
},
GraphReplaysSortInvalid {
source: SortParseError,
},
StatsGroupByNameAxisConflict {
previous: &'static str,
current: &'static str,
},
StatsGroupByUnknownToken {
token: String,
},
StatsKindNotAllowed {
kind: &'static str,
},
StatsGroupByLocationAxisConflict {
kinds: String,
},
StatsGroupByDeviceParentRequired {
verb: &'static str,
axis: &'static str,
},
StatsGridBlockKindConflict {
kind: &'static str,
},
StatsSortInvalid {
source: SortParseError,
},
StatsBySizeKindNotAllowed {
kind: &'static str,
},
StatsBySizeGroupByUnsupported {
axes: String,
},
StatsBySizeSortInvalid {
source: SortParseError,
},
StatsNvtxHierarchyAxesConflict,
StatsNvtxHierarchyGraphAxisConflict {
axis_name: &'static str,
},
StatsNvtxHierarchySelfAttribute {
axis_name: &'static str,
},
StatsNvtxHierarchyPrereqTableMissing {
axis_name: &'static str,
table: &'static str,
},
StatsNvtxHierarchyContextInfoMissing {
axis_name: &'static str,
},
NcuCommandUnknownEnv {
env: String,
},
NcuCommandRowIdKind {
row_id: String,
},
NcuCommandKernelTableMissing,
NcuCommandMetadataTableMissing,
NcuCommandKernelNotFound {
row_id: String,
},
NcuCommandKernelNameMissing {
row_id: String,
},
NcuCommandLaunchRecipeMissing,
NcuCommandAmbiguousProcessRecipe {
process: String,
},
NcuCommandAmbiguousLaunchRecipe,
KindLocationFilterConflict {
verb: String,
axes: &'static str,
kinds: String,
},
KindNvtxAttributionUnsupported {
verb: String,
kinds: String,
},
GapsInvalidScope {
scope: String,
},
GapsMinDurationInvalid {
value: String,
source: TimeParseError,
},
GapsMinTooSmall {
min_ns: i64,
},
GapsStreamRequiresStreamScope {
scope: &'static str,
},
GapsDeviceInTraceScope {
device: i32,
},
GapsSortStreamRequiresStreamScope {
scope: &'static str,
},
GapsSortDeviceInTraceScope,
GapsSortInvalid {
source: SortParseError,
},
MetricsSortWithBucket,
MetricsBucketTooSmall {
bucket_ns: i64,
},
MetricsSortInvalid {
source: SortParseError,
},
MetricsUnknownSource {
metric_source: String,
},
MetricsGpuTableMissing,
MetricsGpuDictionaryMissing,
MetricsGpuCounterNoMatch {
glob: String,
},
MetricsNicTableMissing,
MetricsNicDictionaryMissing,
MetricsNicIdMapMissing,
MetricsNicInfoMissing,
MetricsNicCounterNoMatch {
glob: String,
},
MetricsCpuSamplingCompositeEventsMissing,
MetricsCpuSamplingUnknownGroupBy {
axis: String,
},
MetricsCpuSamplingCallchainsMissing {
group_by: &'static str,
},
MetricsCpuSamplingBucketCallchainsMissing {
group_by: &'static str,
},
MetricsCpuSamplingStackBucketUnsupported,
MetricsCpuSamplingNameOnNumericAxis {
group_by: &'static str,
},
MetricsCpuSchedEventsMissing,
MetricsCpuSchedUnknownGroupBy {
axis: String,
},
GraphReplaysTopNodesTooSmall,
}Variants§
InternalUnsupportedKind
InternalSqlKindTagInvalid
InternalNvtxAttributionUnsupportedKind
InternalStatsRowMissing
InternalNcuCommandLaunchRecipeSelectionMissing
InternalNcuCommandSqlRowMissing
InternalSliceBuilderMissing
NvtxReverseSidecarLoad
TraceOpen
Fields
§
source: Box<NsysDataError>CorrelationIndexLoad
Fields
§
source: Box<NsysDataError>HardwareExtract
Fields
§
source: Box<NsysDataError>TimeWindowResolve
Fields
§
source: Box<NsysDataError>Data
Fields
§
source: Box<NsysDataError>SummaryMetaLoad
Fields
§
source: Box<NsysDataError>NvtxParentSidecarEnsure
Fields
§
source: Box<NsysDataError>NvtxNestingLoad
Fields
§
source: Box<NsysDataError>NvtxTreeLoad
Fields
§
source: Box<NsysDataError>Sql
LimitTooSmall
PositiveDurationInvalid
PositiveDurationTooSmall
NameFilterConflict
SearchCpuSampleUnsupported
SearchSortInvalid
Fields
§
source: SortParseErrorTimelineIntervalInvalid
TimelineIntervalTooSmall
TimelineKindNotAllowed
VizTimelineWindowRequired
VizTimelineUnknownTrackKind
VizTimelineInvalidSelector
VizTimelineUnknownSelector
VizTimelineSelectorNonNegativeInt
VizTimelineSelectorPositiveInt
VizTimelineHighlightTopRequired
VizTimelineUnknownHighlightScope
VizTimelineUnknownHighlightMetric
VizTimelineCudaStreamDeviceRequired
VizTimelineCudaStreamStreamRequired
VizTimelineCudaStreamDeviceAll
VizTimelineArtifact
Fields
§
source: VisualizationErrorSlicesUnknownGroupBy
SlicesSortInvalid
Fields
§
source: SortParseErrorSlicesPrereqTableMissing
SlicesGpuEventTableMissing
NvtxAttributionPrereqTableMissing
NvtxAttributionNoAttributableTableMatch
NvtxAttributionContextInfoMissing
GraphReplaysNvtxPrereqTableMissing
GraphReplaysSortInvalid
Fields
§
source: SortParseErrorStatsGroupByNameAxisConflict
StatsGroupByUnknownToken
StatsKindNotAllowed
StatsGroupByLocationAxisConflict
StatsGroupByDeviceParentRequired
StatsGridBlockKindConflict
StatsSortInvalid
Fields
§
source: SortParseErrorStatsBySizeKindNotAllowed
StatsBySizeGroupByUnsupported
StatsBySizeSortInvalid
Fields
§
source: SortParseErrorStatsNvtxHierarchyAxesConflict
StatsNvtxHierarchyGraphAxisConflict
StatsNvtxHierarchySelfAttribute
StatsNvtxHierarchyPrereqTableMissing
StatsNvtxHierarchyContextInfoMissing
NcuCommandUnknownEnv
NcuCommandRowIdKind
NcuCommandKernelTableMissing
NcuCommandMetadataTableMissing
NcuCommandKernelNotFound
NcuCommandKernelNameMissing
NcuCommandLaunchRecipeMissing
NcuCommandAmbiguousProcessRecipe
NcuCommandAmbiguousLaunchRecipe
KindLocationFilterConflict
KindNvtxAttributionUnsupported
GapsInvalidScope
GapsMinDurationInvalid
GapsMinTooSmall
GapsStreamRequiresStreamScope
GapsDeviceInTraceScope
GapsSortStreamRequiresStreamScope
GapsSortDeviceInTraceScope
GapsSortInvalid
Fields
§
source: SortParseErrorMetricsSortWithBucket
MetricsBucketTooSmall
MetricsSortInvalid
Fields
§
source: SortParseErrorMetricsUnknownSource
MetricsGpuTableMissing
MetricsGpuDictionaryMissing
MetricsGpuCounterNoMatch
MetricsNicTableMissing
MetricsNicDictionaryMissing
MetricsNicIdMapMissing
MetricsNicInfoMissing
MetricsNicCounterNoMatch
MetricsCpuSamplingCompositeEventsMissing
MetricsCpuSamplingUnknownGroupBy
MetricsCpuSamplingCallchainsMissing
MetricsCpuSamplingBucketCallchainsMissing
MetricsCpuSamplingStackBucketUnsupported
MetricsCpuSamplingNameOnNumericAxis
MetricsCpuSchedEventsMissing
MetricsCpuSchedUnknownGroupBy
GraphReplaysTopNodesTooSmall
Implementations§
Source§impl NsysQueryError
impl NsysQueryError
pub fn internal_unsupported_kind(verb: &'static str, kind: &'static str) -> Self
pub fn internal_sql_kind_tag_invalid(verb: &'static str, kind: &str) -> Self
pub fn internal_nvtx_attribution_unsupported_kind( verb: &'static str, kind: &'static str, ) -> Self
pub fn internal_stats_row_missing(query: &'static str) -> Self
pub fn internal_slice_builder_missing(row_id: i64) -> Self
pub fn nvtx_reverse_sidecar_load( mode: &'static str, source: NsysDataError, ) -> Self
pub fn trace_open(source: NsysDataError) -> Self
pub fn correlation_index_load(source: NsysDataError) -> Self
pub fn hardware_extract(source: NsysDataError) -> Self
pub fn time_window_resolve(source: NsysDataError) -> Self
pub fn data(source: NsysDataError) -> Self
pub fn summary_meta_load(source: NsysDataError) -> Self
pub fn nvtx_parent_sidecar_ensure(source: NsysDataError) -> Self
pub fn nvtx_nesting_load(source: NsysDataError) -> Self
pub fn nvtx_tree_load(source: NsysDataError) -> Self
pub fn sql( area: &'static str, phase: SqlPhase, label: impl Into<String>, source: Error, ) -> Self
pub fn sql_prepare( area: &'static str, label: impl Into<String>, source: Error, ) -> Self
pub fn sql_query( area: &'static str, label: impl Into<String>, source: Error, ) -> Self
pub fn sql_read( area: &'static str, label: impl Into<String>, source: Error, ) -> Self
pub fn sql_parts(&self) -> Option<(&'static str, SqlPhase, &str)>
pub fn search_sort_invalid(source: SortParseError) -> Self
pub fn kind_location_filter_conflict( verb: &str, axes: &'static str, kinds: String, ) -> Self
pub fn kind_nvtx_attribution_unsupported(verb: &str, kinds: String) -> Self
pub fn gaps_invalid_scope(scope: &str) -> Self
pub fn gaps_sort_invalid(source: SortParseError) -> Self
pub fn graph_replays_sort_invalid(source: SortParseError) -> Self
pub fn metrics_unknown_source(metric_source: &str) -> Self
pub fn metrics_sort_invalid(source: SortParseError) -> Self
pub fn metrics_gpu_counter_no_match(glob: &str) -> Self
pub fn metrics_nic_counter_no_match(glob: &str) -> Self
pub fn metrics_cpu_sampling_unknown_group_by(axis: &str) -> Self
pub fn metrics_cpu_sched_unknown_group_by(axis: &str) -> Self
pub fn slices_unknown_group_by(group_by: &str) -> Self
pub fn slices_sort_invalid(source: SortParseError) -> Self
pub fn stats_group_by_unknown_token(token: &str) -> Self
pub fn stats_group_by_location_axis_conflict(kinds: String) -> Self
pub fn stats_by_size_group_by_unsupported(axes: String) -> Self
pub fn stats_sort_invalid(source: SortParseError) -> Self
pub fn stats_by_size_sort_invalid(source: SortParseError) -> Self
pub fn ncu_command_unknown_env(env: &str) -> Self
pub fn ncu_command_row_id_kind(row_id: impl ToString) -> Self
pub fn ncu_command_kernel_not_found(row_id: impl ToString) -> Self
pub fn ncu_command_kernel_name_missing(row_id: impl ToString) -> Self
pub fn ncu_command_ambiguous_process_recipe(process: &str) -> Self
Trait Implementations§
Source§impl Debug for NsysQueryError
impl Debug for NsysQueryError
Source§impl Display for NsysQueryError
impl Display for NsysQueryError
Source§impl Error for NsysQueryError
impl Error for NsysQueryError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for NsysQueryError
impl !UnwindSafe for NsysQueryError
impl Freeze for NsysQueryError
impl Send for NsysQueryError
impl Sync for NsysQueryError
impl Unpin for NsysQueryError
impl UnsafeUnpin for NsysQueryError
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more