1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
use super::{ErrorApi, ManagedTypeApi, SendApi, StorageReadApi, StorageWriteApi};

/// Provided for convenience.
/// Designed to be used in any types that send tokens or calls.
pub trait CallTypeApi: SendApi + ManagedTypeApi + ErrorApi {}

/// Provided for convenience.
/// Designed to be used in storage mappers.
pub trait StorageMapperApi:
    StorageReadApi + StorageWriteApi + ManagedTypeApi + ErrorApi + 'static
{
}