pub enum LaunchError {
CompilationError(CompilationError),
OutOfMemory {
context: String,
},
Unknown {
context: String,
},
IoError(IoError),
}Expand description
Error that can happen when calling [ComputeServer::execute];
§Notes
Not all errors are going to be catched when calling [ComputeServer::execute] only the one that won’t block the compute queue.
Variants§
CompilationError(CompilationError)
The given kernel can’t be compiled.
OutOfMemory
The server is out of memory.
Unknown
Unknown launch error.
IoError(IoError)
Can’t launch because of an IO Error.
Trait Implementations§
Source§impl Clone for LaunchError
impl Clone for LaunchError
Source§fn clone(&self) -> LaunchError
fn clone(&self) -> LaunchError
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 LaunchError
impl Debug for LaunchError
Source§impl<'de> Deserialize<'de> for LaunchError
impl<'de> Deserialize<'de> for LaunchError
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LaunchError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LaunchError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LaunchError
impl Display for LaunchError
Source§impl From<CompilationError> for LaunchError
impl From<CompilationError> for LaunchError
Source§fn from(value: CompilationError) -> LaunchError
fn from(value: CompilationError) -> LaunchError
Converts to this type from the input type.
Source§impl From<IoError> for LaunchError
impl From<IoError> for LaunchError
Source§fn from(value: IoError) -> LaunchError
fn from(value: IoError) -> LaunchError
Converts to this type from the input type.
Source§impl From<LaunchError> for AutotuneError
impl From<LaunchError> for AutotuneError
Source§fn from(value: LaunchError) -> AutotuneError
fn from(value: LaunchError) -> AutotuneError
Converts to this type from the input type.
Source§impl From<LaunchError> for ProfileError
impl From<LaunchError> for ProfileError
Source§fn from(val: LaunchError) -> ProfileError
fn from(val: LaunchError) -> ProfileError
Converts to this type from the input type.
Source§impl Hash for LaunchError
impl Hash for LaunchError
Source§impl PartialEq for LaunchError
impl PartialEq for LaunchError
Source§impl Serialize for LaunchError
impl Serialize for LaunchError
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for LaunchError
impl StructuralPartialEq for LaunchError
Auto Trait Implementations§
impl Freeze for LaunchError
impl RefUnwindSafe for LaunchError
impl Send for LaunchError
impl Sync for LaunchError
impl Unpin for LaunchError
impl UnwindSafe for LaunchError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.