Enum clang::SaveError [−][src]
pub enum SaveError { Errors, Unknown, }
Indicates the type of error that prevented the saving of a translation unit to an AST file.
Variants
Errors
Errors in the translation unit prevented saving.
Unknown
An unknown error occurred.
Trait Implementations
impl Copy for SaveError
[src]
impl Copy for SaveError
impl Clone for SaveError
[src]
impl Clone for SaveError
fn clone(&self) -> SaveError
[src]
fn clone(&self) -> SaveError
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for SaveError
[src]
impl Debug for SaveError
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 PartialEq for SaveError
[src]
impl PartialEq for SaveError
fn eq(&self, other: &SaveError) -> bool
[src]
fn eq(&self, other: &SaveError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for SaveError
[src]
impl Eq for SaveError
impl Hash for SaveError
[src]
impl Hash for SaveError
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Error for SaveError
[src]
impl Error for SaveError
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>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<SaveError> for String
[src]
impl From<SaveError> for String
impl Display for SaveError
[src]
impl Display for SaveError