pub struct AofRewriteIo { /* private fields */ }
Implementations§
Source§impl AofRewriteIo
impl AofRewriteIo
Sourcepub unsafe fn new(ptr: NonNull<RedisModuleIO>) -> Self
pub unsafe fn new(ptr: NonNull<RedisModuleIO>) -> Self
§Safety
- The ptr must be valid and from redis.
- The ptr must be for a AofRewrite Operation.
pub fn emit_command<C>(&mut self, cmd: C) -> EmitAofCommandBuilder<'_, C>
pub fn log(&mut self, level: RedisLogLevel, message: impl AsRef<str>)
pub fn log_warning(&mut self, message: impl AsRef<str>)
pub fn log_debug(&mut self, message: impl AsRef<str>)
pub fn log_notice(&mut self, message: impl AsRef<str>)
pub fn log_verbose(&mut self, message: impl AsRef<str>)
Trait Implementations§
Source§impl IoLoggingExt for AofRewriteIo
impl IoLoggingExt for AofRewriteIo
fn log(&mut self, level: RedisLogLevel, message: impl AsRef<str>)
fn log_warning(&mut self, message: impl AsRef<str>)
fn log_debug(&mut self, message: impl AsRef<str>)
fn log_notice(&mut self, message: impl AsRef<str>)
fn log_verbose(&mut self, message: impl AsRef<str>)
Auto Trait Implementations§
impl Freeze for AofRewriteIo
impl RefUnwindSafe for AofRewriteIo
impl !Send for AofRewriteIo
impl !Sync for AofRewriteIo
impl Unpin for AofRewriteIo
impl UnwindSafe for AofRewriteIo
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