pub struct ErrorSet { /* private fields */ }Implementations§
Source§impl ErrorSet
impl ErrorSet
pub fn new() -> Self
pub fn insert(&mut self, name: impl Into<String>)
pub fn extend(&mut self, other: &ErrorSet)
pub fn remove(&mut self, name: &str)
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> impl Iterator<Item = &String>
pub fn contains(&self, name: &str) -> bool
pub fn union(a: &ErrorSet, b: &ErrorSet) -> ErrorSet
pub fn subtract(base: &ErrorSet, handled: &ErrorSet) -> ErrorSet
Trait Implementations§
impl Eq for ErrorSet
Source§impl FromIterator<String> for ErrorSet
impl FromIterator<String> for ErrorSet
impl StructuralPartialEq for ErrorSet
Auto Trait Implementations§
impl Freeze for ErrorSet
impl RefUnwindSafe for ErrorSet
impl Send for ErrorSet
impl Sync for ErrorSet
impl Unpin for ErrorSet
impl UnsafeUnpin for ErrorSet
impl UnwindSafe for ErrorSet
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§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.