pub struct NotPorted {
pub command: &'static str,
}Expand description
Sentinel error for a command whose logic has not been ported to Rust yet.
The binary maps this to a clear, non-zero-exit message pointing at the still authoritative TypeScript build, rather than silently doing nothing.
Fields§
§command: &'static strImplementations§
Trait Implementations§
Source§impl Error for NotPorted
impl Error for NotPorted
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 Forget for NotPorted
impl Freeze for NotPorted
impl Move for NotPorted
impl RefUnwindSafe for NotPorted
impl Send for NotPorted
impl Sync for NotPorted
impl Unpin for NotPorted
impl UnsafeUnpin for NotPorted
impl UnwindSafe for NotPorted
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