pub struct SetPriorityNotFoundError;
Expand description
This is error type for set_priority
method of KeyedPriorityQueue
.
It means that queue doesn’t contain such key.
Trait Implementations§
Source§impl Clone for SetPriorityNotFoundError
impl Clone for SetPriorityNotFoundError
Source§fn clone(&self) -> SetPriorityNotFoundError
fn clone(&self) -> SetPriorityNotFoundError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SetPriorityNotFoundError
impl Debug for SetPriorityNotFoundError
Source§impl Default for SetPriorityNotFoundError
impl Default for SetPriorityNotFoundError
Source§fn default() -> SetPriorityNotFoundError
fn default() -> SetPriorityNotFoundError
Returns the “default value” for a type. Read more
Source§impl Display for SetPriorityNotFoundError
impl Display for SetPriorityNotFoundError
Source§impl Error for SetPriorityNotFoundError
impl Error for SetPriorityNotFoundError
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 Ord for SetPriorityNotFoundError
impl Ord for SetPriorityNotFoundError
Source§fn cmp(&self, other: &SetPriorityNotFoundError) -> Ordering
fn cmp(&self, other: &SetPriorityNotFoundError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SetPriorityNotFoundError
impl PartialEq for SetPriorityNotFoundError
Source§impl PartialOrd for SetPriorityNotFoundError
impl PartialOrd for SetPriorityNotFoundError
impl Copy for SetPriorityNotFoundError
impl Eq for SetPriorityNotFoundError
impl StructuralPartialEq for SetPriorityNotFoundError
Auto Trait Implementations§
impl Freeze for SetPriorityNotFoundError
impl RefUnwindSafe for SetPriorityNotFoundError
impl Send for SetPriorityNotFoundError
impl Sync for SetPriorityNotFoundError
impl Unpin for SetPriorityNotFoundError
impl UnwindSafe for SetPriorityNotFoundError
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.