solana_frozen_abi::abi_example

Trait AbiEnumVisitor

source
pub trait AbiEnumVisitor: Serialize {
    // Required method
    fn visit_for_abi(&self, digester: &mut AbiDigester) -> DigestResult;
}

Required Methods§

source

fn visit_for_abi(&self, digester: &mut AbiDigester) -> DigestResult

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<O: AbiEnumVisitor, E: AbiEnumVisitor> AbiEnumVisitor for Result<O, E>

source§

fn visit_for_abi(&self, digester: &mut AbiDigester) -> DigestResult

source§

impl<T: Serialize + IgnoreAsHelper + EvenAsOpaque> AbiEnumVisitor for &T

source§

default fn visit_for_abi(&self, digester: &mut AbiDigester) -> DigestResult

source§

impl<T: Serialize + IgnoreAsHelper> AbiEnumVisitor for &T

source§

default fn visit_for_abi(&self, digester: &mut AbiDigester) -> DigestResult

source§

impl<T: Serialize + ?Sized + AbiEnumVisitor> AbiEnumVisitor for &T

source§

default fn visit_for_abi(&self, digester: &mut AbiDigester) -> DigestResult

source§

impl<T: AbiEnumVisitor> AbiEnumVisitor for Option<T>

source§

fn visit_for_abi(&self, digester: &mut AbiDigester) -> DigestResult

Implementors§