pub enum UpdateActivationError {
GetActivationNone {
time: SimTime,
belief: Uuid,
},
GetDeltaNone {
belief: Uuid,
},
}Expand description
An error for crate::update_activation_for_agent.
Variants§
GetActivationNone
When the activation for a crate::Belief identified by Uuid at a SimTime is None.
GetDeltaNone
When the delta for a crate::Belief identified by Uuid is None.
Trait Implementations§
Source§impl Debug for UpdateActivationError
impl Debug for UpdateActivationError
Source§impl Display for UpdateActivationError
impl Display for UpdateActivationError
Source§impl Error for UpdateActivationError
impl Error for UpdateActivationError
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()
Source§impl PartialEq for UpdateActivationError
impl PartialEq for UpdateActivationError
impl StructuralPartialEq for UpdateActivationError
Auto Trait Implementations§
impl Freeze for UpdateActivationError
impl RefUnwindSafe for UpdateActivationError
impl Send for UpdateActivationError
impl Sync for UpdateActivationError
impl Unpin for UpdateActivationError
impl UnwindSafe for UpdateActivationError
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