Enum kvdb::DBOp[][src]

pub enum DBOp {
    Insert {
        col: Option<u32>,
        key: ElasticArray32<u8>,
        value: DBValue,
    },
    Delete {
        col: Option<u32>,
        key: ElasticArray32<u8>,
    },
}

Database operation.

Variants

Fields of Insert

Fields of Delete

Methods

impl DBOp
[src]

Returns the key associated with this operation.

Returns the column associated with this operation.

Trait Implementations

impl Clone for DBOp
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DBOp
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for DBOp

impl Sync for DBOp