usecrate::errors::Result;usecrate::{choices::status::Status,ids::Id};/// Represents an element that can be decided.
/// Decidable objects are transactions, blocks, or vertices.
/// ref. <https://pkg.go.dev/github.com/ava-labs/avalanchego/snow/choices#Decidable>
pubtraitDecidable{/// Returns the ID of this block's parent.
fnid(&self)-> Id;/// Returns the current status.
fnstatus(&self)-> Status;/// Accepts this element.
fnaccept(&mutself)->Result<()>;/// Rejects this element.
fnreject(&mutself)->Result<()>;}