pub struct CompilerHostError {
pub message: String,
}Expand description
Errors returned while resolving or writing through a callback-driven compiler host.
Fields§
§message: StringHuman-readable error message.
Implementations§
Trait Implementations§
Source§impl Clone for CompilerHostError
impl Clone for CompilerHostError
Source§fn clone(&self) -> CompilerHostError
fn clone(&self) -> CompilerHostError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompilerHostError
impl Debug for CompilerHostError
Source§impl Display for CompilerHostError
impl Display for CompilerHostError
Source§impl Error for CompilerHostError
impl Error for CompilerHostError
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()
Source§impl From<CompilerHostError> for CompilerDriverError
impl From<CompilerHostError> for CompilerDriverError
Source§fn from(value: CompilerHostError) -> Self
fn from(value: CompilerHostError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CompilerHostError
impl From<Error> for CompilerHostError
Source§impl PartialEq for CompilerHostError
impl PartialEq for CompilerHostError
impl Eq for CompilerHostError
impl StructuralPartialEq for CompilerHostError
Auto Trait Implementations§
impl Freeze for CompilerHostError
impl RefUnwindSafe for CompilerHostError
impl Send for CompilerHostError
impl Sync for CompilerHostError
impl Unpin for CompilerHostError
impl UnsafeUnpin for CompilerHostError
impl UnwindSafe for CompilerHostError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.