pub enum ActorError {
Show 19 variants
DriverError(String),
GenerativeError(String),
InvalidCriticalPoint,
InfiniteLoop,
InvalidShape(String),
InvalidParameter(String),
InvalidState,
NotFound(String),
NoPathFound {
src: String,
tgt: String,
},
NoRuleFound,
NotInitialized(String),
TransformationError,
UnknownState,
UnknownSymbol,
CoreError(Error),
MemoryError(MemoryError),
SurfaceError(SurfaceError),
CncError(Error),
NeuralError(NeuralError),
}Variants§
DriverError(String)
GenerativeError(String)
InvalidCriticalPoint
InfiniteLoop
InvalidShape(String)
InvalidParameter(String)
InvalidState
NotFound(String)
NoPathFound
NoRuleFound
NotInitialized(String)
TransformationError
UnknownState
UnknownSymbol
CoreError(Error)
MemoryError(MemoryError)
SurfaceError(SurfaceError)
CncError(Error)
NeuralError(NeuralError)
Implementations§
Source§impl ActorError
impl ActorError
Sourcepub const fn no_rule_found() -> Self
pub const fn no_rule_found() -> Self
returns a new NoRuleFound variant
Source§impl ActorError
impl ActorError
Sourcepub fn not_initialized(what: impl ToString) -> Self
pub fn not_initialized(what: impl ToString) -> Self
returns a new NotInitialized variant
Sourcepub fn invalid_parameter(what: impl ToString) -> Self
pub fn invalid_parameter(what: impl ToString) -> Self
returns a new InvalidParameter variant
Sourcepub fn no_path_found(src: impl ToString, tgt: impl ToString) -> Self
pub fn no_path_found(src: impl ToString, tgt: impl ToString) -> Self
returns a new NoPathFound variant
Trait Implementations§
Source§impl Debug for ActorError
impl Debug for ActorError
Source§impl Display for ActorError
impl Display for ActorError
Source§impl Error for ActorError
impl Error for ActorError
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<&str> for ActorError
impl From<&str> for ActorError
Source§impl From<ActorError> for Error
impl From<ActorError> for Error
Source§fn from(err: ActorError) -> Self
fn from(err: ActorError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ActorError
impl From<Error> for ActorError
Source§impl From<Error> for ActorError
impl From<Error> for ActorError
Source§impl From<MemoryError> for ActorError
impl From<MemoryError> for ActorError
Source§fn from(source: MemoryError) -> Self
fn from(source: MemoryError) -> Self
Converts to this type from the input type.
Source§impl From<NeuralError> for ActorError
impl From<NeuralError> for ActorError
Source§fn from(source: NeuralError) -> Self
fn from(source: NeuralError) -> Self
Converts to this type from the input type.
Source§impl From<String> for ActorError
impl From<String> for ActorError
Source§impl From<SurfaceError> for ActorError
impl From<SurfaceError> for ActorError
Source§fn from(source: SurfaceError) -> Self
fn from(source: SurfaceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActorError
impl !RefUnwindSafe for ActorError
impl Send for ActorError
impl Sync for ActorError
impl Unpin for ActorError
impl !UnwindSafe for ActorError
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<K, S> Identity<K> for Swhere
S: Borrow<K>,
K: Identifier,
impl<K, S> Identity<K> for Swhere
S: Borrow<K>,
K: Identifier,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more