pub enum OpenError {
NotFound {
requested: String,
},
Other(String),
}Expand description
Errors from open_session_by_id, split so the CLI can map them to
BuildError while the TUI can surface a friendlier note.
Variants§
NotFound
No session matched the request.
Other(String)
The match existed but could not be opened/parsed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenError
impl RefUnwindSafe for OpenError
impl Send for OpenError
impl Sync for OpenError
impl Unpin for OpenError
impl UnsafeUnpin for OpenError
impl UnwindSafe for OpenError
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