pub struct RuntimeLifecycleFacts {
pub terminality: RuntimeLifecycleTerminality,
pub input_admission: RuntimeInputAdmission,
pub queue_admission: RuntimeQueueAdmission,
pub prepare_admission: RuntimePrepareAdmission,
pub ingress_admission: RuntimeIngressAdmission,
}Expand description
Runtime lifecycle/admission facts emitted by generated MeerkatMachine authority for a public runtime-state projection.
Fields§
§terminality: RuntimeLifecycleTerminality§input_admission: RuntimeInputAdmission§queue_admission: RuntimeQueueAdmission§prepare_admission: RuntimePrepareAdmission§ingress_admission: RuntimeIngressAdmissionImplementations§
Source§impl RuntimeLifecycleFacts
impl RuntimeLifecycleFacts
pub fn can_accept_input(self) -> bool
pub fn can_process_queue(self) -> bool
pub fn can_prepare_run(self) -> bool
pub fn is_terminal(self) -> bool
Trait Implementations§
Source§impl Clone for RuntimeLifecycleFacts
impl Clone for RuntimeLifecycleFacts
Source§fn clone(&self) -> RuntimeLifecycleFacts
fn clone(&self) -> RuntimeLifecycleFacts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuntimeLifecycleFacts
Source§impl Debug for RuntimeLifecycleFacts
impl Debug for RuntimeLifecycleFacts
impl Eq for RuntimeLifecycleFacts
Source§impl PartialEq for RuntimeLifecycleFacts
impl PartialEq for RuntimeLifecycleFacts
Source§fn eq(&self, other: &RuntimeLifecycleFacts) -> bool
fn eq(&self, other: &RuntimeLifecycleFacts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeLifecycleFacts
Auto Trait Implementations§
impl Freeze for RuntimeLifecycleFacts
impl RefUnwindSafe for RuntimeLifecycleFacts
impl Send for RuntimeLifecycleFacts
impl Sync for RuntimeLifecycleFacts
impl Unpin for RuntimeLifecycleFacts
impl UnsafeUnpin for RuntimeLifecycleFacts
impl UnwindSafe for RuntimeLifecycleFacts
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.