[−][src]Struct ridb_rest_client::RidbStreamsClient
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]
&'_ mut self,
id: Option<&'_ str>,
name: Option<&'_ str>,
tags: Option<Vec<&'_ str>>
) -> Result<Vec<StreamHit>, Box<dyn Error>>
pub async fn get_stream<'_, '_>(
&'_ mut self,
stream_id: &'_ str
) -> Result<Stream, Box<dyn Error>>
[src]
&'_ mut self,
stream_id: &'_ str
) -> Result<Stream, Box<dyn Error>>
pub async fn get<'_, D: DeserializeOwned>(
&'_ mut self,
url: Url
) -> Result<D, Box<dyn Error>>
[src]
&'_ mut self,
url: Url
) -> Result<D, Box<dyn Error>>
Auto Trait Implementations
impl !RefUnwindSafe for RidbStreamsClient
impl Send for RidbStreamsClient
impl Sync for RidbStreamsClient
impl Unpin for RidbStreamsClient
impl !UnwindSafe for RidbStreamsClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,