[−][src]Struct redis_module::RedisString
Fields
inner: *mut RedisModuleString
Implementations
impl RedisString
[src][−]
pub fn new(
ctx: *mut RedisModuleCtx,
inner: *mut RedisModuleString
) -> RedisString
[src]
ctx: *mut RedisModuleCtx,
inner: *mut RedisModuleString
) -> RedisString
pub fn create(ctx: *mut RedisModuleCtx, s: &str) -> RedisString
[src]
pub fn from_ptr<'a>(ptr: *const RedisModuleString) -> Result<&'a str, Utf8Error>
[src]
pub fn append(&mut self, s: &str) -> Status
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn try_as_str(&self) -> Result<&str, Utf8Error>
[src]
Trait Implementations
impl Debug for RedisString
[src][+]
impl Drop for RedisString
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for RedisString
impl !Send for RedisString
impl !Sync for RedisString
impl Unpin for RedisString
impl UnwindSafe for RedisString
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,