pub enum UpdateResult {
Success,
OnlyIds,
}
Expand description
Result given when updating the inner storage list of an MTP device with
MtpDevice::update_storage
.
This is mostly useful for the developer to show some sort of message, depending on
whether there isn’t enough information about the storage (OnlyIds
where retrieved).
Note that StoragePool
and Storage
instances have knowledge about the result
of update_storage
.
Variants§
Trait Implementations§
Source§impl Clone for UpdateResult
impl Clone for UpdateResult
Source§fn clone(&self) -> UpdateResult
fn clone(&self) -> UpdateResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateResult
impl Debug for UpdateResult
impl Copy for UpdateResult
Auto Trait Implementations§
impl Freeze for UpdateResult
impl RefUnwindSafe for UpdateResult
impl Send for UpdateResult
impl Sync for UpdateResult
impl Unpin for UpdateResult
impl UnwindSafe for UpdateResult
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