pub enum SetResult<T> {
NotSet,
Set,
Replaced(T),
}
Expand description
The result of doing a set operation
Variants§
NotSet
Could not set term
Set
Term was set and there was no value there before
Replaced(T)
Term replaced the value
Trait Implementations§
impl<T: Eq> Eq for SetResult<T>
impl<T> StructuralPartialEq for SetResult<T>
Auto Trait Implementations§
impl<T> Freeze for SetResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for SetResult<T>where
T: RefUnwindSafe,
impl<T> Send for SetResult<T>where
T: Send,
impl<T> Sync for SetResult<T>where
T: Sync,
impl<T> Unpin for SetResult<T>where
T: Unpin,
impl<T> UnwindSafe for SetResult<T>where
T: UnwindSafe,
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