pub enum CancelTrainingSessionError {
ModelNotFound,
TrainingSessionNotFound,
TrainingSessionNotRunning,
AccessDenied,
BadCredentials,
TooManyRequests,
PaymentRequired,
Unknown,
InvalidParameter {
parameter_name: String,
reason: String,
},
}
Variants§
ModelNotFound
TrainingSessionNotFound
TrainingSessionNotRunning
AccessDenied
BadCredentials
TooManyRequests
PaymentRequired
Unknown
InvalidParameter
Trait Implementations§
source§impl Clone for CancelTrainingSessionError
impl Clone for CancelTrainingSessionError
source§fn clone(&self) -> CancelTrainingSessionError
fn clone(&self) -> CancelTrainingSessionError
Returns a copy 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 CancelTrainingSessionError
impl Debug for CancelTrainingSessionError
source§impl<'de> Deserialize<'de> for CancelTrainingSessionError
impl<'de> Deserialize<'de> for CancelTrainingSessionError
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
Auto Trait Implementations§
impl Freeze for CancelTrainingSessionError
impl RefUnwindSafe for CancelTrainingSessionError
impl Send for CancelTrainingSessionError
impl Sync for CancelTrainingSessionError
impl Unpin for CancelTrainingSessionError
impl UnwindSafe for CancelTrainingSessionError
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