pub struct RegistryCutover {
pub promoted: ModuleRegistration,
pub superseded: Option<ModuleRegistration>,
}Expand description
The result of promoting a module’s candidate registration to active.
Fields§
§promoted: ModuleRegistrationThe registration that is now active (the former candidate).
superseded: Option<ModuleRegistration>The former active registration, now demoted. None when the incumbent
had already gone away before the promotion.
Trait Implementations§
Source§impl Clone for RegistryCutover
impl Clone for RegistryCutover
Source§impl Debug for RegistryCutover
impl Debug for RegistryCutover
Source§impl PartialEq for RegistryCutover
impl PartialEq for RegistryCutover
impl StructuralPartialEq for RegistryCutover
Auto Trait Implementations§
impl Forget for RegistryCutover
impl Freeze for RegistryCutover
impl Move for RegistryCutover
impl RefUnwindSafe for RegistryCutover
impl Send for RegistryCutover
impl Sync for RegistryCutover
impl Unpin for RegistryCutover
impl UnsafeUnpin for RegistryCutover
impl UnwindSafe for RegistryCutover
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