Trait serenity::cache::StrExt[][src]

pub trait StrExt: Sized {
#[must_use]    fn parse_cached<'life0, 'async_trait, CRL, F: FromStrAndCache>(
        &'life0 self,
        cache: CRL
    ) -> Pin<Box<dyn Future<Output = Result<F, F::Err>> + Send + 'async_trait>>
    where
        CRL: AsRef<Cache> + Send + Sync,
        CRL: 'async_trait,
        F: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn parse_cached<'life0, 'async_trait, CRL, F: FromStrAndCache>(
    &'life0 self,
    cache: CRL
) -> Pin<Box<dyn Future<Output = Result<F, F::Err>> + Send + 'async_trait>> where
    CRL: AsRef<Cache> + Send + Sync,
    CRL: 'async_trait,
    F: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementations on Foreign Types

impl<'impl0> StrExt for &'impl0 str[src]

Loading content...

Implementors

Loading content...