Trait serenity::cache::FromStrAndCache [−][src]
pub trait FromStrAndCache: Sized {
type Err;
fn from_str<'life0, 'async_trait, CRL>(
cache: CRL,
s: &'life0 str
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Err>> + Send + 'async_trait>>
where
CRL: AsRef<Cache> + Send + Sync,
CRL: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait;
}