[][src]Struct push::storage::db::PushDb

pub struct PushDb {
    pub db: Connection,
}

Fields

db: Connection

Implementations

impl PushDb[src]

pub fn with_connection(db: Connection) -> Result<Self>[src]

pub fn open(path: impl AsRef<Path>) -> Result<Self>[src]

pub fn open_in_memory() -> Result<Self>[src]

pub fn normalize_uuid(uuid: &str) -> String[src]

Normalize UUID values to undashed, lowercase.

pub fn uuid_to_dashed(uuid: &str) -> Result<String>[src]

Dash UUID strings.

Trait Implementations

impl ConnExt for PushDb[src]

impl Deref for PushDb[src]

type Target = Connection

The resulting type after dereferencing.

impl Storage for PushDb[src]

Auto Trait Implementations

impl !RefUnwindSafe for PushDb

impl Send for PushDb

impl !Sync for PushDb

impl Unpin for PushDb

impl !UnwindSafe for PushDb

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.