Struct binaryninja::backgroundtask::BackgroundTask
[−]pub struct BackgroundTask { /* private fields */ }
Implementations
impl BackgroundTask
impl BackgroundTask
pub fn new<S: BnStrCompatible>(
initial_text: S,
can_cancel: bool
) -> Result<Ref<Self>>
pub fn can_cancel(&self) -> bool
pub fn is_cancelled(&self) -> bool
pub fn is_finished(&self) -> bool
pub fn get_progress_text(&self) -> BnString
pub fn cancel(&self)
pub fn finish(&self)
pub fn set_progress_text<S: BnStrCompatible>(&self, text: S)
pub fn running_tasks() -> Array<BackgroundTask>
Trait Implementations
impl CoreArrayProvider for BackgroundTask
impl CoreArrayProvider for BackgroundTask
impl<'a> CoreArrayWrapper<'a> for BackgroundTask
impl<'a> CoreArrayWrapper<'a> for BackgroundTask
type Wrapped = Guard<'a, BackgroundTask>
unsafe fn wrap_raw(
raw: &'a *mut BNBackgroundTask,
context: &'a ()
) -> Guard<'a, BackgroundTask>
impl CoreOwnedArrayProvider for BackgroundTask
impl CoreOwnedArrayProvider for BackgroundTask
impl Hash for BackgroundTask
impl Hash for BackgroundTask
impl PartialEq<BackgroundTask> for BackgroundTask
impl PartialEq<BackgroundTask> for BackgroundTask
fn eq(&self, other: &BackgroundTask) -> bool
fn eq(&self, other: &BackgroundTask) -> bool
impl RefCountable for BackgroundTask
impl RefCountable for BackgroundTask
impl ToOwned for BackgroundTask
impl ToOwned for BackgroundTask
type Owned = Ref<BackgroundTask>
type Owned = Ref<BackgroundTask>
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
impl Eq for BackgroundTask
impl Send for BackgroundTask
impl StructuralEq for BackgroundTask
impl StructuralPartialEq for BackgroundTask
impl Sync for BackgroundTask
Auto Trait Implementations
impl RefUnwindSafe for BackgroundTask
impl Unpin for BackgroundTask
impl UnwindSafe for BackgroundTask
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