|
|
@ -37,7 +37,7 @@ use bitflags::bitflags; |
|
|
|
|
|
|
|
|
|
|
|
use crate::cursor::{Cursor, GetKeyValue, PutKeyValue}; |
|
|
|
use crate::cursor::{Cursor, GetKeyValue, PutKeyValue}; |
|
|
|
use crate::server::{ServerAdd, ServerFlags, ServerType}; |
|
|
|
use crate::server::{ServerAdd, ServerFlags, ServerType}; |
|
|
|
use crate::types::Str; |
|
|
|
use crate::wrappers::Str; |
|
|
|
use crate::{CursorError, Error, ServerInfo}; |
|
|
|
use crate::{CursorError, Error, ServerInfo}; |
|
|
|
|
|
|
|
|
|
|
|
bitflags! { |
|
|
|
bitflags! { |
|
|
@ -296,9 +296,9 @@ impl fmt::Display for &Filter<'_> { |
|
|
|
|
|
|
|
|
|
|
|
#[cfg(test)] |
|
|
|
#[cfg(test)] |
|
|
|
mod tests { |
|
|
|
mod tests { |
|
|
|
use super::super::cursor::CursorMut; |
|
|
|
|
|
|
|
use super::super::types::Str; |
|
|
|
|
|
|
|
use super::*; |
|
|
|
use super::*; |
|
|
|
|
|
|
|
use crate::cursor::CursorMut; |
|
|
|
|
|
|
|
use crate::wrappers::Str; |
|
|
|
|
|
|
|
|
|
|
|
macro_rules! tests { |
|
|
|
macro_rules! tests { |
|
|
|
($($name:ident$(($($predefined_f:ident: $predefined_v:expr),+ $(,)?))? { |
|
|
|
($($name:ident$(($($predefined_f:ident: $predefined_v:expr),+ $(,)?))? { |
|
|
|