Struct hitbox_backend::Set [−][src]
Expand description
Actix message writes cache backend value by key.
Fields
key: String
Key of cache backend record.
value: Vec<u8>
Data for sorage by cache key.
ttl: Option<u32>
Optional value of time-to-live for cache record.
Trait Implementations
impl Message for Set
[src]
impl Message for Set
[src]type Result = Result<String, BackendError>
type Result = Result<String, BackendError>
The type of value that this message will resolved with if it is successful. Read more
impl StructuralPartialEq for Set
[src]
Auto Trait Implementations
impl RefUnwindSafe for Set
impl Send for Set
impl Sync for Set
impl Unpin for Set
impl UnwindSafe for Set
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,