#[non_exhaustive]pub enum ConfigState {
Unstamped(ConfigView),
Pending(ConfigView),
Active(ConfigView),
Failed {
view: ConfigAvailability,
reasons: Vec<String>,
},
ConfigGated {
view: ConfigAvailability,
refusal: ErrorBody,
},
NotDeliveryTarget {
view: ConfigAvailability,
refusal: ErrorBody,
},
AnchorPending {
view: ConfigAvailability,
refusal: ErrorBody,
},
}Expand description
Wire status or refusal, with the module’s retained view where applicable.
ConfigGated with NoApprovedConfig carries the original refusal but no bytes.
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.
Unstamped(ConfigView)
Pending(ConfigView)
Active(ConfigView)
Failed
ConfigGated
NotDeliveryTarget
AnchorPending
Implementations§
Trait Implementations§
Source§impl Clone for ConfigState
impl Clone for ConfigState
Auto Trait Implementations§
impl Forget for ConfigState
impl Freeze for ConfigState
impl Move for ConfigState
impl RefUnwindSafe for ConfigState
impl Send for ConfigState
impl Sync for ConfigState
impl Unpin for ConfigState
impl UnsafeUnpin for ConfigState
impl UnwindSafe for ConfigState
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