pub struct CodecConfig {
pub masking: EntryMasking,
pub map_comment_context: Option<Box<dyn Fn(HashMap<Bytes, Bytes>) -> Option<SqlStatementContext>>>,
}
Expand description
Struct to pass along configuration values to codec
Fields§
§masking: EntryMasking
type of masking to use when parsing SQL
map_comment_context: Option<Box<dyn Fn(HashMap<Bytes, Bytes>) -> Option<SqlStatementContext>>>
mapping function in order to find specific key entries
Trait Implementations§
Source§impl Debug for CodecConfig
impl Debug for CodecConfig
Source§impl Default for CodecConfig
impl Default for CodecConfig
Source§fn default() -> CodecConfig
fn default() -> CodecConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodecConfig
impl !RefUnwindSafe for CodecConfig
impl !Send for CodecConfig
impl !Sync for CodecConfig
impl Unpin for CodecConfig
impl !UnwindSafe for CodecConfig
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