pub struct Resolution<K> {
pub requested: K,
pub running: K,
pub warning: Option<Error>,
}Expand description
A resolved setting: what was asked, what runs, and the warning when they differ.
Fields§
§requested: KThe value as requested.
running: KThe value that runs.
warning: Option<Error>The coded warning when running != requested.
Implementations§
Trait Implementations§
Source§impl<K: Clone> Clone for Resolution<K>
impl<K: Clone> Clone for Resolution<K>
Source§impl<K: Debug> Debug for Resolution<K>
impl<K: Debug> Debug for Resolution<K>
impl<K: Eq> Eq for Resolution<K>
Source§impl<K: PartialEq> PartialEq for Resolution<K>
impl<K: PartialEq> PartialEq for Resolution<K>
impl<K: PartialEq> StructuralPartialEq for Resolution<K>
Auto Trait Implementations§
impl<K> Forget for Resolution<K>
impl<K> Freeze for Resolution<K>where
K: Freeze,
impl<K> Move for Resolution<K>
impl<K> RefUnwindSafe for Resolution<K>where
K: RefUnwindSafe,
impl<K> Send for Resolution<K>where
K: Send,
impl<K> Sync for Resolution<K>where
K: Sync,
impl<K> Unpin for Resolution<K>where
K: Unpin,
impl<K> UnsafeUnpin for Resolution<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for Resolution<K>where
K: 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