pub struct DownloadInstance { /* private fields */ }
Implementations
impl DownloadInstance
impl DownloadInstance
pub fn perform_request<S: BnStrCompatible>(
&mut self,
url: S,
callbacks: DownloadInstanceOutputCallbacks
) -> Result<(), BnString>
pub fn perform_custom_request<M: BnStrCompatible, U: BnStrCompatible, HK: BnStrCompatible, HV: BnStrCompatible, I: IntoIterator<Item = (HK, HV)>>(
&mut self,
method: M,
url: U,
headers: I,
callbacks: DownloadInstanceInputOutputCallbacks
) -> Result<DownloadResponse, BnString>
Trait Implementations
impl RefCountable for DownloadInstance
impl RefCountable for DownloadInstance
impl ToOwned for DownloadInstance
impl ToOwned for DownloadInstance
type Owned = Ref<DownloadInstance>
type Owned = Ref<DownloadInstance>
The resulting type after obtaining ownership.
fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations
impl RefUnwindSafe for DownloadInstance
impl !Send for DownloadInstance
impl !Sync for DownloadInstance
impl Unpin for DownloadInstance
impl UnwindSafe for DownloadInstance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more