[][src]Trait serenity::cache::FromStrAndCache

pub trait FromStrAndCache: Sized {
    type Err;
#[must_use]    pub 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
; }

Associated Types

Loading content...

Required methods

#[must_use]pub 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, 
[src]

Loading content...

Implementors

impl FromStrAndCache for Channel[src]

type Err = ChannelParseError

impl FromStrAndCache for Role[src]

type Err = RoleParseError

impl<F: FromStr> FromStrAndCache for F[src]

type Err = F::Err

Loading content...