Trait candid_parser::CandidType
source · pub trait CandidType {
// Required methods
fn _ty() -> Type;
fn idl_serialize<S>(
&self,
serializer: S
) -> Result<(), <S as Serializer>::Error>
where S: Serializer;
// Provided methods
fn ty() -> Type { ... }
fn id() -> TypeId { ... }
}
Required Methods§
fn _ty() -> Type
fn idl_serialize<S>(
&self,
serializer: S
) -> Result<(), <S as Serializer>::Error>where
S: Serializer,
Provided Methods§
Object Safety§
This trait is not object safe.