#[non_exhaustive]pub enum RegisterWorkerOutcome {
Registered,
Refreshed,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Registered
No prior live key for this worker_instance_id (fresh boot
or post-TTL-expiry).
Refreshed
Existing live key was found; TTL reset + caps/lanes overwritten (in-process hot-restart, RFC-025 §9.3).
Trait Implementations§
Source§impl Clone for RegisterWorkerOutcome
impl Clone for RegisterWorkerOutcome
Source§fn clone(&self) -> RegisterWorkerOutcome
fn clone(&self) -> RegisterWorkerOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegisterWorkerOutcome
impl Debug for RegisterWorkerOutcome
Source§impl PartialEq for RegisterWorkerOutcome
impl PartialEq for RegisterWorkerOutcome
impl Copy for RegisterWorkerOutcome
impl Eq for RegisterWorkerOutcome
impl StructuralPartialEq for RegisterWorkerOutcome
Auto Trait Implementations§
impl Freeze for RegisterWorkerOutcome
impl RefUnwindSafe for RegisterWorkerOutcome
impl Send for RegisterWorkerOutcome
impl Sync for RegisterWorkerOutcome
impl Unpin for RegisterWorkerOutcome
impl UnsafeUnpin for RegisterWorkerOutcome
impl UnwindSafe for RegisterWorkerOutcome
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