Trait serenity::cache::FromStrAndCache
source · [−]pub trait FromStrAndCache: Sized {
type Err;
fn from_str<CRL>(cache: CRL, s: &str) -> Result<Self, Self::Err>
where
CRL: AsRef<Cache> + Send + Sync;
}
Available on crate feature
cache
only.Required Associated Types
Required Methods
Implementors
sourceimpl FromStrAndCache for Channel
Available on crate features model
and utils
only.
impl FromStrAndCache for Channel
Available on crate features
model
and utils
only.type Err = ChannelParseError
sourceimpl FromStrAndCache for Role
Available on crate features model
and utils
only.
impl FromStrAndCache for Role
Available on crate features
model
and utils
only.