pub enum NnsGovernanceCollectionStatus {
Ready,
Collecting,
Complete,
PageLimitReached,
}Expand description
NnsGovernanceCollectionStatus
Lifecycle of a caller-owned resumable NNS Governance collection. Each collection owns its cursor and API exhaustion rules.
Variants§
Ready
No source page has been admitted yet.
Collecting
Another bounded page may be requested.
Complete
Governance API exhaustion was observed.
PageLimitReached
Another cursor exists, but the configured page ceiling was consumed.
Implementations§
Trait Implementations§
impl Copy for NnsGovernanceCollectionStatus
Source§impl<'de> Deserialize<'de> for NnsGovernanceCollectionStatus
impl<'de> Deserialize<'de> for NnsGovernanceCollectionStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NnsGovernanceCollectionStatus
impl StructuralPartialEq for NnsGovernanceCollectionStatus
Auto Trait Implementations§
impl Freeze for NnsGovernanceCollectionStatus
impl RefUnwindSafe for NnsGovernanceCollectionStatus
impl Send for NnsGovernanceCollectionStatus
impl Sync for NnsGovernanceCollectionStatus
impl Unpin for NnsGovernanceCollectionStatus
impl UnsafeUnpin for NnsGovernanceCollectionStatus
impl UnwindSafe for NnsGovernanceCollectionStatus
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