Struct rustc_errors::FatalError [−][src]
#[must_use]pub struct FatalError;
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Used as a return value to signify a fatal error occurred. (It is also used as the argument to panic at the moment, but that will eventually not be true.)
Methods
impl FatalError
[src]
impl FatalError
pub fn raise(self) -> !
[src]
pub fn raise(self) -> !
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl Copy for FatalError
[src]
impl Copy for FatalError
impl Clone for FatalError
[src]
impl Clone for FatalError
fn clone(&self) -> FatalError
[src]
fn clone(&self) -> FatalError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for FatalError
[src]
impl Debug for FatalError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl !Send for FatalError
[src]
impl !Send for FatalError
impl Display for FatalError
[src]
impl Display for FatalError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for FatalError
[src]
impl Error for FatalError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
fn type_id(&self) -> TypeId where
Self: 'static,
[src]
fn type_id(&self) -> TypeId where
Self: 'static,
🔬 This is a nightly-only experimental API. (error_type_id
)
unclear whether to commit to this public implementation detail
Get the TypeId
of self
Auto Trait Implementations
impl Sync for FatalError
impl Sync for FatalError