Struct probe_rs::Permissions
source · [−]#[non_exhaustive]pub struct Permissions { /* private fields */ }
Expand description
Implementations
sourceimpl Permissions
impl Permissions
sourcepub fn allow_erase_all(self) -> Self
pub fn allow_erase_all(self) -> Self
Allow the session to erase all memory of the chip or reset it to factory default.
Warning
This may irreversibly remove otherwise read-protected data from the device like security keys and 3rd party firmware. What happens exactly may differ per device and per probe-rs version.
Trait Implementations
sourceimpl Clone for Permissions
impl Clone for Permissions
sourcefn clone(&self) -> Permissions
fn clone(&self) -> Permissions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Permissions
impl Debug for Permissions
sourceimpl Default for Permissions
impl Default for Permissions
sourcefn default() -> Permissions
fn default() -> Permissions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for Permissions
impl Send for Permissions
impl Sync for Permissions
impl Unpin for Permissions
impl UnwindSafe for Permissions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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