pub enum BuiltinError {
Show 24 variants
UnknownCommand(String),
RedirectRead,
RedirectWrite,
CdFailed,
MkdirFailed,
CatFailed,
TouchFailed,
LsFailed,
ExportFailed,
SaveFailed,
TodoLoadFailed,
TodoSaveFailed,
TodoArgError,
TodoDataError,
RustupNotFound,
CargoNotFound,
SandboxExportFailed,
SandboxSyncFailed,
RustToolNonZeroExit {
program: String,
code: Option<i32>,
},
VmWorkspaceSyncFailed,
VmSessionError(String),
WorkspacePathOutside,
GuestFsOpFailed(String),
PipelineInterStageBufferExceeded {
limit: usize,
actual: usize,
},
}Expand description
Error from builtin execution (redirect or VFS failure, unknown command).
Variants§
UnknownCommand(String)
RedirectRead
RedirectWrite
CdFailed
MkdirFailed
CatFailed
TouchFailed
LsFailed
ExportFailed
SaveFailed
TodoLoadFailed
TodoSaveFailed
TodoArgError
TodoDataError
RustupNotFound
rustup not found in PATH
CargoNotFound
cargo not found in PATH
SandboxExportFailed
Sandbox export (VFS to temp dir) failed
SandboxSyncFailed
Sandbox sync (temp dir back to VFS) failed
RustToolNonZeroExit
cargo / rustup subprocess exited with non-zero status (see stderr for tool output)
VmWorkspaceSyncFailed
VM workspace push/pull failed (see stderr for detail)
VmSessionError(String)
VM backend unavailable or misconfigured at startup
WorkspacePathOutside
Logical path escapes the guest workspace (Mode P).
GuestFsOpFailed(String)
Guest FS operation failed (Mode P).
PipelineInterStageBufferExceeded
Intermediate pipeline stage produced more bytes than allowed (host memory cap; design §8.2).
Trait Implementations§
Source§impl Debug for BuiltinError
impl Debug for BuiltinError
Auto Trait Implementations§
impl Freeze for BuiltinError
impl RefUnwindSafe for BuiltinError
impl Send for BuiltinError
impl Sync for BuiltinError
impl Unpin for BuiltinError
impl UnsafeUnpin for BuiltinError
impl UnwindSafe for BuiltinError
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