pub enum AddLinkError {
ReadLink(PoisonError<ErroredRead<Arc<RwLock<Link>>>>),
WriteLink(PoisonError<ErroredWrite<Arc<RwLock<Link>>>>),
ReadIndex(PoisonError<ErroredRead<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>>>),
WriteIndex(PoisonError<ErroredWrite<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>>>),
Conflict(String),
AddJoint(Box<AddJointError>),
AddMaterial(AddMaterialError),
AccesNewestLink(PoisonError<ErroredWrite<Arc<KinematicDataTree>>>),
}
Variants§
ReadLink(PoisonError<ErroredRead<Arc<RwLock<Link>>>>)
Error that results from PoisonError<RwLockReadGuard<'_, Link>>
occurs when attempting to read a poisoned Arc<RwLock<Link>>
.
WriteLink(PoisonError<ErroredWrite<Arc<RwLock<Link>>>>)
Error that results from PoisonError<RwLockWriteGuard<'_, Link>>
occurs when attempting to write to a poisoned Arc<RwLock<Link>>
.
ReadIndex(PoisonError<ErroredRead<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>>>)
Error that results from PoisonError<RwLockReaddGuard<'_, HashMap<String, Weak<RwLock<Link>>>>
occurs when attempting to read a poisoned Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>
.
WriteIndex(PoisonError<ErroredWrite<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>>>)
Error that results from PoisonError<RwLockWriteGuard<'_, HashMap<String, Weak<RwLock<Link>>>>
occurs when attempting to write to a poisoned Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>
.
Conflict(String)
AddJoint(Box<AddJointError>)
AddMaterial(AddMaterialError)
AccesNewestLink(PoisonError<ErroredWrite<Arc<KinematicDataTree>>>)
Error that results from PoisonError<RwLockWriteGuard<'_, Weak<RwLock<Link>>>>
occurs when attempting to write to a poisoned RwLock<Weak<RwLock<Link>>>>
. (Only used for [KinematicDataTree
].newest_link
)
Trait Implementations§
source§impl Debug for AddLinkError
impl Debug for AddLinkError
source§impl Display for AddLinkError
impl Display for AddLinkError
source§impl Error for AddLinkError
impl Error for AddLinkError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<AddMaterialError> for AddLinkError
impl From<AddMaterialError> for AddLinkError
source§fn from(source: AddMaterialError) -> Self
fn from(source: AddMaterialError) -> Self
source§impl From<Box<AddJointError, Global>> for AddLinkError
impl From<Box<AddJointError, Global>> for AddLinkError
source§fn from(source: Box<AddJointError>) -> Self
fn from(source: Box<AddJointError>) -> Self
source§impl From<PoisonError<ErroredRead<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>, RandomState>>>>>> for AddLinkError
impl From<PoisonError<ErroredRead<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>, RandomState>>>>>> for AddLinkError
source§impl From<PoisonError<ErroredRead<Arc<RwLock<Link>>>>> for AddLinkError
impl From<PoisonError<ErroredRead<Arc<RwLock<Link>>>>> for AddLinkError
source§impl From<PoisonError<ErroredWrite<Arc<KinematicDataTree>>>> for AddLinkError
impl From<PoisonError<ErroredWrite<Arc<KinematicDataTree>>>> for AddLinkError
source§fn from(source: PoisonError<ErroredWrite<Arc<KinematicDataTree>>>) -> Self
fn from(source: PoisonError<ErroredWrite<Arc<KinematicDataTree>>>) -> Self
source§impl From<PoisonError<ErroredWrite<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>, RandomState>>>>>> for AddLinkError
impl From<PoisonError<ErroredWrite<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>, RandomState>>>>>> for AddLinkError
source§impl From<PoisonError<ErroredWrite<Arc<RwLock<Link>>>>> for AddLinkError
impl From<PoisonError<ErroredWrite<Arc<RwLock<Link>>>>> for AddLinkError
source§impl PartialEq<AddLinkError> for AddLinkError
impl PartialEq<AddLinkError> for AddLinkError
Auto Trait Implementations§
impl RefUnwindSafe for AddLinkError
impl Send for AddLinkError
impl Sync for AddLinkError
impl Unpin for AddLinkError
impl UnwindSafe for AddLinkError
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.