[−][src]Trait serenity::cache::FromStrAndCache
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]
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,
Implementors
impl FromStrAndCache for Channel
[src]
type Err = ChannelParseError
pub fn from_str<'life0, 'async_trait, C>(
cache: C,
s: &'life0 str
) -> Pin<Box<dyn Future<Output = StdResult<Self, Self::Err>> + Send + 'async_trait>> where
C: AsRef<Cache> + Send + Sync,
C: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
cache: C,
s: &'life0 str
) -> Pin<Box<dyn Future<Output = StdResult<Self, Self::Err>> + Send + 'async_trait>> where
C: AsRef<Cache> + Send + Sync,
C: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
impl FromStrAndCache for Role
[src]
type Err = RoleParseError
pub fn from_str<'life0, 'async_trait, CRL>(
cache: CRL,
s: &'life0 str
) -> Pin<Box<dyn Future<Output = StdResult<Self, Self::Err>> + Send + 'async_trait>> where
CRL: AsRef<Cache> + Send + Sync,
CRL: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
cache: CRL,
s: &'life0 str
) -> Pin<Box<dyn Future<Output = StdResult<Self, Self::Err>> + Send + 'async_trait>> where
CRL: AsRef<Cache> + Send + Sync,
CRL: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,