Struct mhost::services::server_lists::ServerListDownloader
source · pub struct ServerListDownloader { /* private fields */ }
Implementations§
source§impl ServerListDownloader
impl ServerListDownloader
pub fn new(opts: ServerListDownloaderOpts) -> ServerListDownloader
pub async fn download<I: IntoIterator<Item = ServerListSpec>>( &self, server_list_specs: I ) -> Result<DownloadResponses>
Trait Implementations§
source§impl Clone for ServerListDownloader
impl Clone for ServerListDownloader
source§fn clone(&self) -> ServerListDownloader
fn clone(&self) -> ServerListDownloader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ServerListDownloader
impl Send for ServerListDownloader
impl Sync for ServerListDownloader
impl Unpin for ServerListDownloader
impl !UnwindSafe for ServerListDownloader
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