Docs.rs
  • sqlness-0.6.1
    • sqlness 0.6.1
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • waynexia
    • jiacai2050
    • github:ceresdb:crates
    • Dependencies
      • async-trait ^0.1 normal
      • derive_builder ^0.11 normal
      • duration-str ^0.11.2 normal
      • minijinja ^1 normal
      • mysql ^23.0.1 normal optional
      • postgres ^0.19.7 normal optional
      • prettydiff ^0.6.2 normal
      • regex ^1.7.1 normal
      • serde_json ^1 normal
      • thiserror ^1.0 normal
      • toml ^0.5 normal
      • walkdir ^2.3 normal
      • tokio ^1.23 dev
    • Versions
    • 31.03% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

sqlness0.6.1

InterceptorFactory

Required Methods

  • try_new

Implementors

In sqlness::interceptor

sqlness::interceptor

Trait InterceptorFactory

Source
pub trait InterceptorFactory {
    // Required method
    fn try_new(&self, ctx: &str) -> Result<InterceptorRef, SqlnessError>;
}

Required Methods§

Source

fn try_new(&self, ctx: &str) -> Result<InterceptorRef, SqlnessError>

Implementors§

Source§

impl InterceptorFactory for ArgInterceptorFactory

Source§

impl InterceptorFactory for EnvInterceptorFactory

Source§

impl InterceptorFactory for ReplaceInterceptorFactory

Source§

impl InterceptorFactory for SleepInterceptorFactory

Source§

impl InterceptorFactory for SortResultInterceptorFactory

Source§

impl InterceptorFactory for TemplateInterceptorFactory