[][src]Struct asuran::repository::backend::object_wrappers::BackendWrapper

pub struct BackendWrapper<T: Backend>(T);

Wraps a Backend in an object safe way

Trait Implementations

impl<T: Backend> Backend for BackendWrapper<T>[src]

type Manifest = ManifestObject

type Index = IndexObject

impl<T: Clone + Backend> Clone for BackendWrapper<T>[src]

impl<T: Debug + Backend> Debug for BackendWrapper<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for BackendWrapper<T> where
    T: RefUnwindSafe

impl<T> Send for BackendWrapper<T>

impl<T> Sync for BackendWrapper<T>

impl<T> Unpin for BackendWrapper<T> where
    T: Unpin

impl<T> UnwindSafe for BackendWrapper<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> BackendClone for T where
    T: Backend + Clone + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>, 

impl<T> WithSubscriber for T[src]