pub trait Metadata: Send + Sized + 'static {
    type Message: Message;

    fn request_url(id: SpotifyId) -> Result<String, FromUtf8Error>;
    fn parse(
        msg: &Self::Message,
        session: &Session
    ) -> Result<Self, SpotifyIdError>; fn get<'life0, 'async_trait>(
        session: &'life0 Session,
        id: SpotifyId
    ) -> Pin<Box<dyn Future<Output = Result<Self, MercuryError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... } }

Required Associated Types

Required Methods

Provided Methods

Implementors