pub enum AddLinkError {
ReadNewLink(PoisonError<ErroredRead<Arc<RwLock<Link>>>>),
WriteNewLink(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),
AccessNewestLink(PoisonError<ErroredWrite<Arc<KinematicDataTree>>>),
}Variants§
ReadNewLink(PoisonError<ErroredRead<Arc<RwLock<Link>>>>)
Error that results from PoisonError<RwLockReadGuard<'_, Link>> occurs when attempting to read a poisoned Arc<RwLock<Link>>.
WriteNewLink(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)
AccessNewestLink(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<AddLinkError> for AttachChainError
impl From<AddLinkError> for AttachChainError
Source§fn from(source: AddLinkError) -> Self
fn from(source: AddLinkError) -> Self
Source§impl From<PoisonError<ErroredRead<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>>>> for AddLinkError
impl From<PoisonError<ErroredRead<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>>>> 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>>>>>>>> for AddLinkError
impl From<PoisonError<ErroredWrite<Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>>>> for AddLinkError
Source§impl From<PoisonError<ErroredWrite<Arc<RwLock<Link>>>>> for AddLinkError
impl From<PoisonError<ErroredWrite<Arc<RwLock<Link>>>>> for AddLinkError
Source§impl PartialEq for AddLinkError
impl PartialEq for AddLinkError
Auto Trait Implementations§
impl Freeze for AddLinkError
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
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>
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>
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 moreSource§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§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).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.