[][src]Struct rocks::options::DbPath

pub struct DbPath {
    pub path: PathBuf,
    pub target_size: u64,
}

Fields

path: PathBuftarget_size: u64

Target size of total files under the path, in byte.

Implementations

impl DbPath[src]

pub fn new<P: AsRef<Path>>(p: P, t: u64) -> DbPath[src]

Trait Implementations

impl Debug for DbPath[src]

impl Default for DbPath[src]

impl<T: Into<PathBuf>> From<T> for DbPath[src]

Auto Trait Implementations

impl RefUnwindSafe for DbPath

impl Send for DbPath

impl Sync for DbPath

impl Unpin for DbPath

impl UnwindSafe for DbPath

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.