pub enum WorkspaceMigrationError {
UnsupportedVersion {
version: u16,
},
NoMigrationPath {
from: u16,
to: u16,
},
DeserializationFailed {
reason: String,
},
}Expand description
Errors from workspace migration.
Variants§
UnsupportedVersion
Version is not recognized or too old to migrate.
NoMigrationPath
Migration from the given version is not implemented.
DeserializationFailed
Deserialization failed during migration.
Trait Implementations§
Source§impl Clone for WorkspaceMigrationError
impl Clone for WorkspaceMigrationError
Source§fn clone(&self) -> WorkspaceMigrationError
fn clone(&self) -> WorkspaceMigrationError
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 WorkspaceMigrationError
impl Debug for WorkspaceMigrationError
Source§impl Display for WorkspaceMigrationError
impl Display for WorkspaceMigrationError
Source§impl PartialEq for WorkspaceMigrationError
impl PartialEq for WorkspaceMigrationError
impl Eq for WorkspaceMigrationError
impl StructuralPartialEq for WorkspaceMigrationError
Auto Trait Implementations§
impl Freeze for WorkspaceMigrationError
impl RefUnwindSafe for WorkspaceMigrationError
impl Send for WorkspaceMigrationError
impl Sync for WorkspaceMigrationError
impl Unpin for WorkspaceMigrationError
impl UnsafeUnpin for WorkspaceMigrationError
impl UnwindSafe for WorkspaceMigrationError
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