pub trait ByKey<Q>: Exceptionwhere
Q: ?Sized,{
// Required method
fn except<'a>(
&'a mut self,
key: &'a Q,
) -> Result<Except<'a, Self::Kind, Self::Target, Q>, KeyNotFoundError<&'a Q>>;
}Required Methods§
fn except<'a>( &'a mut self, key: &'a Q, ) -> Result<Except<'a, Self::Kind, Self::Target, Q>, KeyNotFoundError<&'a Q>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Implementors§
impl<T, S> ByKey<T> for HashSet1<T, S>where
T: UnsafeHash,
S: BuildHasher,
Available on crate feature
std only.