Struct librespot_core::mercury::MercuryManager [−][src]
pub struct MercuryManager(_);
Implementations
impl MercuryManager
[src]
impl MercuryManager
[src]pub fn get<T: Into<String>>(&self, uri: T) -> MercuryFuture<MercuryResponse>ⓘNotable traits for MercuryFuture<T>
impl<T> Future for MercuryFuture<T> type Output = Result<T, MercuryError>;
[src]
Notable traits for MercuryFuture<T>
impl<T> Future for MercuryFuture<T> type Output = Result<T, MercuryError>;
pub fn send<T: Into<String>>(
&self,
uri: T,
data: Vec<u8>
) -> MercuryFuture<MercuryResponse>ⓘNotable traits for MercuryFuture<T>
impl<T> Future for MercuryFuture<T> type Output = Result<T, MercuryError>;
[src]
&self,
uri: T,
data: Vec<u8>
) -> MercuryFuture<MercuryResponse>ⓘ
Notable traits for MercuryFuture<T>
impl<T> Future for MercuryFuture<T> type Output = Result<T, MercuryError>;
pub fn sender<T: Into<String>>(&self, uri: T) -> MercurySender
[src]
pub fn subscribe<T: Into<String>>(
&self,
uri: T
) -> impl Future<Output = Result<UnboundedReceiver<MercuryResponse>, MercuryError>> + 'static
[src]
&self,
uri: T
) -> impl Future<Output = Result<UnboundedReceiver<MercuryResponse>, MercuryError>> + 'static
Trait Implementations
impl Clone for MercuryManager
[src]
impl Clone for MercuryManager
[src]fn clone(&self) -> MercuryManager
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for MercuryManager
impl !RefUnwindSafe for MercuryManager
impl Send for MercuryManager
impl Send for MercuryManager
impl Sync for MercuryManager
impl Sync for MercuryManager
impl Unpin for MercuryManager
impl Unpin for MercuryManager
impl !UnwindSafe for MercuryManager
impl !UnwindSafe for MercuryManager