Struct gitql_cli::reporter::DiagnosticReporter
source · pub struct DiagnosticReporter { /* private fields */ }
Implementations§
source§impl DiagnosticReporter
impl DiagnosticReporter
pub fn new() -> Self
pub fn report_error(&mut self, message: &str)
pub fn report_gql_error(&mut self, error: GQLError)
pub fn report_runtime_error(&mut self, message: String)
Auto Trait Implementations§
impl RefUnwindSafe for DiagnosticReporter
impl Send for DiagnosticReporter
impl Sync for DiagnosticReporter
impl Unpin for DiagnosticReporter
impl UnwindSafe for DiagnosticReporter
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