pub enum Intent {
Reconcile,
Init,
Upgrade,
Assess,
}Expand description
What a front verb is willing to serve.
Variants§
Reconcile
Whatever the target is.
Init
A first landing.
Upgrade
A move to a newer release.
Assess
A classification alone, writing nothing.
Implementations§
Source§impl Intent
impl Intent
Sourcepub const fn accepts(self, found: Classification) -> Result<(), IntentRefused>
pub const fn accepts(self, found: Classification) -> Result<(), IntentRefused>
Whether this front serves what the target turned out to be.
§Errors
IntentRefused naming the verb, the classification, and the next
command. A front that widened its own scope here would be the
classification lying about the target.
Trait Implementations§
impl Copy for Intent
impl Eq for Intent
impl StructuralPartialEq for Intent
Auto Trait Implementations§
impl Freeze for Intent
impl RefUnwindSafe for Intent
impl Send for Intent
impl Sync for Intent
impl Unpin for Intent
impl UnsafeUnpin for Intent
impl UnwindSafe for Intent
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.