pub enum OpsisError {
Feed(String),
Serialization(String),
Spatial(String),
Subscription(String),
EngineNotRunning,
}Expand description
Errors produced by the Opsis world state engine.
Variants§
Feed(String)
A feed failed to connect or poll.
Serialization(String)
Serialization / deserialization failure.
Spatial(String)
Invalid spatial data (coordinates out of range, etc.).
Subscription(String)
Subscription matching or registration error.
EngineNotRunning
The engine is not running or has shut down.
Trait Implementations§
Source§impl Debug for OpsisError
impl Debug for OpsisError
Source§impl Display for OpsisError
impl Display for OpsisError
Source§impl Error for OpsisError
impl Error for OpsisError
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()
Auto Trait Implementations§
impl Freeze for OpsisError
impl RefUnwindSafe for OpsisError
impl Send for OpsisError
impl Sync for OpsisError
impl Unpin for OpsisError
impl UnsafeUnpin for OpsisError
impl UnwindSafe for OpsisError
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