Trait librespot_metadata::Metadata [−][src]
pub trait Metadata: Send + Sized + 'static { type Message: Message; fn request_url(id: SpotifyId) -> String; fn parse(msg: &Self::Message, session: &Session) -> Self; #[must_use] 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, { ... } }
Associated Types
Loading content...Required methods
fn request_url(id: SpotifyId) -> String
[src]
fn parse(msg: &Self::Message, session: &Session) -> Self
[src]
Provided methods
#[must_use]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,
[src]
#[must_use]
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,
Implementors
impl Metadata for Playlist
[src]
impl Metadata for Playlist
[src]