Struct bitcoin_txmempool::TxValidationState
source · pub struct TxValidationState { /* private fields */ }Implementations§
source§impl TxValidationState
impl TxValidationState
pub fn invalid( &mut self, result: TxValidationResult, reject_reason: Option<&str>, debug_message: Option<&str> ) -> bool
pub fn error(&mut self, reject_reason: &String) -> bool
pub fn is_valid(&self) -> bool
pub fn is_invalid(&self) -> bool
pub fn is_error(&self) -> bool
pub fn get_result(&self) -> TxValidationResult
pub fn get_reject_reason(&self) -> String
pub fn get_debug_message(&self) -> String
pub fn to_string(&self) -> String
Auto Trait Implementations§
impl RefUnwindSafe for TxValidationState
impl Send for TxValidationState
impl Sync for TxValidationState
impl Unpin for TxValidationState
impl UnwindSafe for TxValidationState
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