Enum saito_rust::block::BlockType [−][src]
pub enum BlockType {
Ghost,
Header,
Pruned,
Full,
}
Expand description
BlockType is a human-readable indicator of the state of the block with particular attention to its state of pruning and the amount of data that is available. It is used by some functions to fetch blocks that require certain types of data, such as the full set of transactions or the UTXOSet
Hash - a ghost block sent to lite-clients primarily for SPV mode Header - the header of the block without transaction data Full - the full block including transactions and signatures
Variants
Ghost
Header
Pruned
Full
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for BlockType
impl UnwindSafe for BlockType
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more