pub enum InvalidProblem {
SubgroupConflict {
subgroup: usize,
depends_on: usize,
},
InvalidSubgroupScoring {
subgroup: usize,
},
MissingConfig,
TomlError {
message: String,
},
OwnerId,
}Variants§
Trait Implementations§
Source§impl Debug for InvalidProblem
impl Debug for InvalidProblem
Source§impl<'de> Deserialize<'de> for InvalidProblem
impl<'de> Deserialize<'de> for InvalidProblem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InvalidProblem
impl Display for InvalidProblem
Source§impl Error for InvalidProblem
impl Error for InvalidProblem
1.30.0 · 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<InvalidProblem> for AdaJudgeError
impl From<InvalidProblem> for AdaJudgeError
Source§fn from(source: InvalidProblem) -> Self
fn from(source: InvalidProblem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidProblem
impl RefUnwindSafe for InvalidProblem
impl Send for InvalidProblem
impl Sync for InvalidProblem
impl Unpin for InvalidProblem
impl UnsafeUnpin for InvalidProblem
impl UnwindSafe for InvalidProblem
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