Trait soroban_sdk::xdr::Validate

pub trait Validate {
    type Error;

    // Required method
    fn validate(&self) -> Result<(), Self::Error>;
}

Required Associated Types§

type Error

Required Methods§

fn validate(&self) -> Result<(), Self::Error>

Implementors§

§

impl Validate for ScVal

§

type Error = Error

§

impl Validate for ScMap

§

type Error = Error