Trait candid::types::CandidType [−][src]
pub trait CandidType { fn _ty() -> Type; fn idl_serialize<S>(&self, serializer: S) -> Result<(), S::Error>
where
S: Serializer; fn ty() -> Type { ... } fn id() -> TypeId { ... } }
Required methods
fn idl_serialize<S>(&self, serializer: S) -> Result<(), S::Error> where
S: Serializer,
Provided methods
Implementations on Foreign Types
impl<K, V, H> CandidType for HashMap<K, V, H> where
K: CandidType + Eq + Hash,
V: CandidType,
H: BuildHasher,
impl<K, V, H> CandidType for HashMap<K, V, H> where
K: CandidType + Eq + Hash,
V: CandidType,
H: BuildHasher,
impl<T0, T1, T2> CandidType for (T0, T1, T2) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
impl<T0, T1, T2> CandidType for (T0, T1, T2) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
impl<T0, T1, T2, T3> CandidType for (T0, T1, T2, T3) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
impl<T0, T1, T2, T3> CandidType for (T0, T1, T2, T3) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
impl<T0, T1, T2, T3, T4> CandidType for (T0, T1, T2, T3, T4) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
impl<T0, T1, T2, T3, T4> CandidType for (T0, T1, T2, T3, T4) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
impl<T0, T1, T2, T3, T4, T5> CandidType for (T0, T1, T2, T3, T4, T5) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
impl<T0, T1, T2, T3, T4, T5> CandidType for (T0, T1, T2, T3, T4, T5) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6> CandidType for (T0, T1, T2, T3, T4, T5, T6) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6> CandidType for (T0, T1, T2, T3, T4, T5, T6) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
T14: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
T14: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
T14: CandidType,
T15: CandidType,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> CandidType for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
T0: CandidType,
T1: CandidType,
T2: CandidType,
T3: CandidType,
T4: CandidType,
T5: CandidType,
T6: CandidType,
T7: CandidType,
T8: CandidType,
T9: CandidType,
T10: CandidType,
T11: CandidType,
T12: CandidType,
T13: CandidType,
T14: CandidType,
T15: CandidType,