Struct binaryninja::downloadprovider::DownloadInstance
source · pub struct DownloadInstance { /* private fields */ }
Implementations§
source§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§
source§impl ToOwned for DownloadInstance
impl ToOwned for DownloadInstance
§type Owned = Ref<DownloadInstance>
type Owned = Ref<DownloadInstance>
The resulting type after obtaining ownership.
source§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 · source§fn 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§
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