pub struct NoopQueryParser;Expand description
A demo parser implementation. Never use it in serious application.
Implementations§
Trait Implementations§
Source§impl Debug for NoopQueryParser
impl Debug for NoopQueryParser
Source§impl Default for NoopQueryParser
impl Default for NoopQueryParser
Source§fn default() -> NoopQueryParser
fn default() -> NoopQueryParser
Returns the “default value” for a type. Read more
Source§impl QueryParser for NoopQueryParser
impl QueryParser for NoopQueryParser
type Statement = String
fn parse_sql<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
sql: &'life1 str,
_types: &'life2 [Type],
) -> Pin<Box<dyn Future<Output = PgWireResult<Self::Statement>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for NoopQueryParser
impl RefUnwindSafe for NoopQueryParser
impl Send for NoopQueryParser
impl Sync for NoopQueryParser
impl Unpin for NoopQueryParser
impl UnwindSafe for NoopQueryParser
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