drt_sc/api/composite_api.rs
1use super::{ErrorApi, ManagedTypeApi, SendApi, StorageReadApi, StorageWriteApi};
2
3/// Provided for convenience.
4/// Designed to be used in any types that send tokens or calls.
5pub trait CallTypeApi: SendApi + ManagedTypeApi + StorageWriteApi + ErrorApi {}
6
7/// Provided for convenience.
8/// Designed to be used in storage mappers.
9pub trait StorageMapperApi:
10 StorageReadApi + StorageWriteApi + ManagedTypeApi + ErrorApi + 'static
11{
12}