[][src]Struct ridb_rest_client::RidbStreamsClient

pub struct RidbStreamsClient { /* fields omitted */ }

Implementations

impl RidbStreamsClient[src]

pub async fn new<'_>(env: &'_ str) -> Result<Self, Box<dyn Error>>[src]

pub fn base_url(env: &str) -> Url[src]

pub async fn search<'_, '_, '_, '_>(
    &'_ mut self,
    id: Option<&'_ str>,
    name: Option<&'_ str>,
    tags: Option<Vec<&'_ str>>
) -> Result<Vec<StreamHit>, Box<dyn Error>>
[src]

pub async fn get_stream<'_, '_>(
    &'_ mut self,
    stream_id: &'_ str
) -> Result<Stream, Box<dyn Error>>
[src]

pub async fn get<'_, D: DeserializeOwned>(
    &'_ mut self,
    url: Url
) -> Result<D, Box<dyn Error>>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.