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§
Source§impl From<BuildError> for OpenError
impl From<BuildError> for OpenError
Source§fn from(error: BuildError) -> Self
fn from(error: BuildError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for OpenError
impl Freeze for OpenError
impl Move for OpenError
impl RefUnwindSafe for OpenError
impl Send for OpenErrorwhere
RawVecInner: Send,
impl Sync for OpenErrorwhere
RawVecInner: Sync,
impl Unpin for OpenError
impl UnsafeUnpin for OpenError
impl UnwindSafe for OpenErrorwhere
RawVecInner: UnwindSafe,
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