pub enum WorkspaceRenameError {
SymbolNotFound {
symbol: String,
file: String,
},
NameConflict {
new_name: String,
conflicts: Vec<ConflictLocation>,
},
Timeout {
elapsed_seconds: u64,
files_processed: usize,
total_files: usize,
},
FileSystemError {
operation: String,
file: PathBuf,
error: String,
},
RollbackFailed {
original_error: String,
rollback_error: String,
backup_dir: PathBuf,
},
IndexUpdateFailed {
error: String,
affected_files: Vec<PathBuf>,
},
SecurityError {
message: String,
path: Option<PathBuf>,
},
NotImplemented {
feature: String,
},
}Expand description
Errors specific to workspace rename operations
Variants§
SymbolNotFound
Symbol not found in workspace
NameConflict
Name conflict detected in scope
Fields
§
conflicts: Vec<ConflictLocation>Locations of conflicts
Timeout
Operation timed out
Fields
FileSystemError
File system operation failed
RollbackFailed
Rollback failed (critical)
Fields
IndexUpdateFailed
Index update failed
SecurityError
Security violation
NotImplemented
Feature not yet implemented
Trait Implementations§
Source§impl Clone for WorkspaceRenameError
impl Clone for WorkspaceRenameError
Source§fn clone(&self) -> WorkspaceRenameError
fn clone(&self) -> WorkspaceRenameError
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 WorkspaceRenameError
impl Debug for WorkspaceRenameError
Source§impl Display for WorkspaceRenameError
impl Display for WorkspaceRenameError
Source§impl Error for WorkspaceRenameError
impl Error for WorkspaceRenameError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for WorkspaceRenameError
impl RefUnwindSafe for WorkspaceRenameError
impl Send for WorkspaceRenameError
impl Sync for WorkspaceRenameError
impl Unpin for WorkspaceRenameError
impl UnsafeUnpin for WorkspaceRenameError
impl UnwindSafe for WorkspaceRenameError
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