pub enum RestoreCompletion {
Updated,
Reset,
}Expand description
How the device reported a successful CMD_RESTORE. Both forms leave
the device in the same configuration; they differ only in reporting and
session-state handling.
Variants§
Updated
Update form: values reverted in place (each change published as
an unsolicited update; see UlcpDevice::pop_prop_event).
Reset
Reset form (STATUS_RESET_RESTORED): the device also reset its
protocol session state. Cached property views are invalid;
saved properties hold their saved values.
Trait Implementations§
Source§impl Clone for RestoreCompletion
impl Clone for RestoreCompletion
Source§fn clone(&self) -> RestoreCompletion
fn clone(&self) -> RestoreCompletion
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RestoreCompletion
impl Debug for RestoreCompletion
Source§impl PartialEq for RestoreCompletion
impl PartialEq for RestoreCompletion
impl Copy for RestoreCompletion
impl Eq for RestoreCompletion
impl StructuralPartialEq for RestoreCompletion
Auto Trait Implementations§
impl Freeze for RestoreCompletion
impl RefUnwindSafe for RestoreCompletion
impl Send for RestoreCompletion
impl Sync for RestoreCompletion
impl Unpin for RestoreCompletion
impl UnwindSafe for RestoreCompletion
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)