pub enum PytorchQueryError {
Show 26 variants
UnknownType {
token: String,
},
EmptyTypeSelection,
MultiRankRequiresScope,
LimitTooSmall,
MutuallyExclusiveNameFilters,
InvalidNameGlob {
pattern: String,
source: Error,
},
InvalidNameRegex {
pattern: String,
source: Error,
},
MissingTimeBound,
InvalidFrom {
value: String,
source: TimeParseError,
},
InvalidTo {
value: String,
source: TimeParseError,
},
EmptyTimeWindow {
start: i64,
end: i64,
},
IntervalTooSmall,
UnknownStatsGroupBy {
axis: String,
},
LocalFilterParentRequired {
axis: &'static str,
value: i64,
parents: &'static str,
suggestion: &'static str,
},
StatsGroupByParentRequired {
axis: &'static str,
parents: &'static str,
group_by: &'static str,
},
PythonStackMissing {
axis: String,
},
UnknownSlicesGroupBy {
axis: String,
},
SqlOpen {
source: Error,
},
Sql {
area: &'static str,
phase: SqlPhase,
label: String,
source: Error,
},
SearchCountOverflow {
source: TryFromIntError,
},
StatsCountOverflow {
source: TryFromIntError,
},
TimelineCountOverflow {
source: TryFromIntError,
},
SlicesCountOverflow {
source: TryFromIntError,
},
CollectivesCountOverflow {
source: TryFromIntError,
},
InspectJsonDecode {
field: String,
source: Error,
},
InspectTraceIndexOverflow {
source: TryFromIntError,
},
}Variants§
UnknownType
EmptyTypeSelection
MultiRankRequiresScope
LimitTooSmall
MutuallyExclusiveNameFilters
InvalidNameGlob
InvalidNameRegex
MissingTimeBound
InvalidFrom
InvalidTo
EmptyTimeWindow
IntervalTooSmall
UnknownStatsGroupBy
LocalFilterParentRequired
StatsGroupByParentRequired
PythonStackMissing
UnknownSlicesGroupBy
SqlOpen
Sql
SearchCountOverflow
Fields
§
source: TryFromIntErrorStatsCountOverflow
Fields
§
source: TryFromIntErrorTimelineCountOverflow
Fields
§
source: TryFromIntErrorSlicesCountOverflow
Fields
§
source: TryFromIntErrorCollectivesCountOverflow
Fields
§
source: TryFromIntErrorInspectJsonDecode
InspectTraceIndexOverflow
Fields
§
source: TryFromIntErrorImplementations§
Source§impl PytorchQueryError
impl PytorchQueryError
pub fn unknown_type(token: &str) -> Self
pub fn invalid_name_glob(pattern: &str, source: Error) -> Self
pub fn invalid_name_regex(pattern: &str, source: Error) -> Self
pub fn invalid_from(value: &str, source: TimeParseError) -> Self
pub fn invalid_to(value: &str, source: TimeParseError) -> Self
pub fn unknown_stats_group_by(axis: &str) -> Self
pub fn python_stack_missing(axis: &str) -> Self
pub fn unknown_slices_group_by(axis: &str) -> Self
pub fn sql_parts(&self) -> Option<(&'static str, SqlPhase, &str)>
Trait Implementations§
Source§impl Debug for PytorchQueryError
impl Debug for PytorchQueryError
Source§impl Display for PytorchQueryError
impl Display for PytorchQueryError
Source§impl Error for PytorchQueryError
impl Error for PytorchQueryError
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 PytorchQueryError
impl !UnwindSafe for PytorchQueryError
impl Freeze for PytorchQueryError
impl Send for PytorchQueryError
impl Sync for PytorchQueryError
impl Unpin for PytorchQueryError
impl UnsafeUnpin for PytorchQueryError
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