Struct binaryninja::update::UpdateChannel
source · #[repr(C)]pub struct UpdateChannel {
pub name: BnString,
pub description: BnString,
pub latest_version: BnString,
/* private fields */
}
Fields§
§name: BnString
§description: BnString
§latest_version: BnString
Implementations§
source§impl UpdateChannel
impl UpdateChannel
pub fn all() -> Result<Array<UpdateChannel>, BnString>
sourcepub fn latest_version(&self) -> Result<UpdateVersion, BnString>
pub fn latest_version(&self) -> Result<UpdateVersion, BnString>
Latest version
sourcepub fn updates_available(&self) -> Result<bool, BnString>
pub fn updates_available(&self) -> Result<bool, BnString>
Whether updates are available
pub fn update_to_latest(&self) -> Result<UpdateResult, BnString>
pub fn update_to_latest_with_progress<F>( &self, progress: F ) -> Result<UpdateResult, BnString>
pub fn update(&self, version: &UpdateVersion) -> Result<UpdateResult, BnString>
pub fn update_with_progress<F>( &self, version: &UpdateVersion, progress: F ) -> Result<UpdateResult, BnString>
Trait Implementations§
source§impl CoreArrayProvider for UpdateChannel
impl CoreArrayProvider for UpdateChannel
Auto Trait Implementations§
impl RefUnwindSafe for UpdateChannel
impl !Send for UpdateChannel
impl !Sync for UpdateChannel
impl Unpin for UpdateChannel
impl UnwindSafe for UpdateChannel
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