pub struct Client { /* private fields */ }Implementations§
Source§impl Client
impl Client
pub fn new(base_url: &Uri) -> Result<Self, Error>
pub async fn status(&self) -> Result<Status, Error>
pub async fn changed(&self) -> Result<Changed, Error>
pub async fn segment_stream( &self, segment: u8, of: u8, since: Option<&str>, ) -> Result<impl AsyncRead + Unpin + Send + 'static, Error>
Auto Trait Implementations§
impl !Freeze for Client
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more