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

pub trait FromStrAndCache: Sized {
    type Err;
    pub fn from_str(
        cache: impl AsRef<CacheRwLock>,
        s: &str
    ) -> Result<Self, Self::Err>; }

Associated Types

Loading content...

Required methods

pub fn from_str(
    cache: impl AsRef<CacheRwLock>,
    s: &str
) -> Result<Self, Self::Err>
[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...