[][src]Struct in3_sys::cache_entry

#[repr(C)]pub struct cache_entry {
    pub key: bytes_t,
    pub value: bytes_t,
    pub buffer: [u8; 4],
    pub must_free: bool,
    pub next: *mut cache_entry,
}

represents a single cache entry in a linked list. These are used within a request context to cache values and automaticly free them.

Fields

key: bytes_t

< an optional key of the entry

value: bytes_t

< the value

buffer: [u8; 4]

< the buffer is used to store extra data, which will be cleaned when freed.

must_free: bool

< if true, the cache-entry will be freed when the request context is cleaned up.

next: *mut cache_entry

< pointer to the next entry.

Trait Implementations

impl Clone for cache_entry[src]

impl Copy for cache_entry[src]

impl Debug for cache_entry[src]

Auto Trait Implementations

impl !Send for cache_entry

impl !Sync for cache_entry

impl Unpin for cache_entry

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.