pub enum FieldsError {
InvalidInput(&'static str),
OutOfMemory,
Store(StoreError),
Query(QueryError),
}Expand description
Why a field kernel could not run.
Variants§
InvalidInput(&'static str)
An argument was invalid (non-finite point, mismatched lengths, stale sign data and so on); the message says which.
OutOfMemory
Memory for the result could not be reserved.
Store(StoreError)
The mesh store failed, for example while building adjacency.
Query(QueryError)
A query failed, for example because the BVH is stale.
Trait Implementations§
Source§impl Clone for FieldsError
impl Clone for FieldsError
Source§fn clone(&self) -> FieldsError
fn clone(&self) -> FieldsError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FieldsError
impl Debug for FieldsError
Source§impl Display for FieldsError
impl Display for FieldsError
impl Eq for FieldsError
Source§impl Error for FieldsError
impl Error for FieldsError
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<QueryError> for FieldsError
impl From<QueryError> for FieldsError
Source§fn from(e: QueryError) -> Self
fn from(e: QueryError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for FieldsError
impl From<StoreError> for FieldsError
Source§fn from(e: StoreError) -> Self
fn from(e: StoreError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FieldsError
impl PartialEq for FieldsError
impl StructuralPartialEq for FieldsError
Auto Trait Implementations§
impl Freeze for FieldsError
impl RefUnwindSafe for FieldsError
impl Send for FieldsError
impl Sync for FieldsError
impl Unpin for FieldsError
impl UnsafeUnpin for FieldsError
impl UnwindSafe for FieldsError
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