pub enum BindOutcome {
Bound(IntegratorBinding),
AlreadyBound(IntegratorBinding),
Replaced {
previous: Box<IntegratorBinding>,
current: Box<IntegratorBinding>,
},
AlreadyExists {
existing: Box<IntegratorBinding>,
},
}Expand description
What the store did with an offered integrator binding.
Variants§
Bound(IntegratorBinding)
The scope had nobody; this binding holds it now.
AlreadyBound(IntegratorBinding)
The same binding was already there; nothing changed.
Replaced
A different binding was displaced, and the fence went up.
AlreadyExists
A different binding is live and the caller did not ask to replace it.
Fields
§
existing: Box<IntegratorBinding>Implementations§
Source§impl BindOutcome
impl BindOutcome
Trait Implementations§
Source§impl Clone for BindOutcome
impl Clone for BindOutcome
Source§impl Debug for BindOutcome
impl Debug for BindOutcome
impl Eq for BindOutcome
Source§impl PartialEq for BindOutcome
impl PartialEq for BindOutcome
impl StructuralPartialEq for BindOutcome
Auto Trait Implementations§
impl Freeze for BindOutcome
impl RefUnwindSafe for BindOutcome
impl Send for BindOutcome
impl Sync for BindOutcome
impl Unpin for BindOutcome
impl UnsafeUnpin for BindOutcome
impl UnwindSafe for BindOutcome
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