Struct torrust_index_backend::tracker::api::Client
source · pub struct Client {
pub connection_info: ConnectionInfo,
/* private fields */
}
Fields§
§connection_info: ConnectionInfo
Implementations§
source§impl Client
impl Client
pub fn new(connection_info: ConnectionInfo) -> Self
sourcepub async fn remove_torrent_from_whitelist(
&self,
info_hash: &str
) -> Result<Response, Error>
pub async fn remove_torrent_from_whitelist( &self, info_hash: &str ) -> Result<Response, Error>
Auto Trait Implementations§
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe 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