pub enum PackageValidationResult {
PCKG_RESULT_UNSET,
PCKG_POLICY,
PCKG_TX,
}Expand description
| A “reason” why a package was invalid. | It may be that one or more of the included | transactions is invalid or the package | itself violates our rules. | | We don’t distinguish between consensus | and policy violations right now. |
Variants§
PCKG_RESULT_UNSET
| Initial value. The package has not yet | been rejected. |
PCKG_POLICY
| The package itself is invalid (e.g. | too many transactions). |
PCKG_TX
| At least one tx is invalid. |
Auto Trait Implementations§
impl RefUnwindSafe for PackageValidationResult
impl Send for PackageValidationResult
impl Sync for PackageValidationResult
impl Unpin for PackageValidationResult
impl UnwindSafe for PackageValidationResult
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more