[][src]Struct webext_storage::sync::bridge::BridgedEngine

pub struct BridgedEngine<'a> {
    db: &'a StorageDb,
}

A bridged engine implements all the methods needed to make the storage.sync store work with Desktop's Sync implementation. Conceptually, it's similar to sync15_traits::Store, which we should eventually rename and unify with this trait (#2841).

Fields

db: &'a StorageDb

Implementations

impl<'a> BridgedEngine<'a>[src]

pub fn new(db: &'a StorageDb) -> Self[src]

Creates a bridged engine for syncing.

fn do_reset(&self, tx: &Transaction<'_>) -> Result<()>[src]

Trait Implementations

impl<'a> BridgedEngine for BridgedEngine<'a>[src]

type Error = Error

The type returned for errors.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for BridgedEngine<'a>

impl<'a> !Send for BridgedEngine<'a>

impl<'a> !Sync for BridgedEngine<'a>

impl<'a> Unpin for BridgedEngine<'a>

impl<'a> !UnwindSafe for BridgedEngine<'a>

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,