Trait Source

Source
pub trait Source:
    Write
    + Read
    + Seek
    + Sync
    + Send { }
Expand description

Trait required by database sources. Automatically implemented for standard library types such as File and Cursor.

Allows in-memory databases using Cursor<Vec<u8>>.

Implementors§

Source§

impl<S: Write + Read + Seek + Sync + Send> Source for S