Struct psibase::TransactionTrace
source · pub struct TransactionTrace {
pub action_traces: Vec<ActionTrace>,
pub error: Option<String>,
}Fields§
§action_traces: Vec<ActionTrace>§error: Option<String>Implementations§
source§impl TransactionTrace
impl TransactionTrace
pub fn ok(self) -> Result<TransactionTrace, Error>
pub fn match_error(self, msg: &str) -> Result<TransactionTrace, Error>
Trait Implementations§
source§impl Clone for TransactionTrace
impl Clone for TransactionTrace
source§fn clone(&self) -> TransactionTrace
fn clone(&self) -> TransactionTrace
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TransactionTrace
impl Debug for TransactionTrace
source§impl<'de> Deserialize<'de> for TransactionTrace
impl<'de> Deserialize<'de> for TransactionTrace
source§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
source§impl Display for TransactionTrace
impl Display for TransactionTrace
source§impl Pack for TransactionTrace
impl Pack for TransactionTrace
source§impl Reflect for TransactionTrace
impl Reflect for TransactionTrace
type StaticType = TransactionTrace
fn reflect<V: Visitor>(visitor: V) -> V::Return
source§impl Serialize for TransactionTrace
impl Serialize for TransactionTrace
source§impl<'a> Unpack<'a> for TransactionTrace
impl<'a> Unpack<'a> for TransactionTrace
source§fn unpack(src: &'a [u8], pos: &mut u32) -> Result<Self>
fn unpack(src: &'a [u8], pos: &mut u32) -> Result<Self>
Convert from fracpack format. Also verifies the integrity of the data. Read more
source§fn verify(src: &'a [u8], pos: &mut u32) -> Result<()>
fn verify(src: &'a [u8], pos: &mut u32) -> Result<()>
Verify the integrity of fracpack data. You don’t need to call this if
using [Pack::unpack] since it verifies integrity during unpack.
Auto Trait Implementations§
impl RefUnwindSafe for TransactionTrace
impl Send for TransactionTrace
impl Sync for TransactionTrace
impl Unpin for TransactionTrace
impl UnwindSafe for TransactionTrace
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