[][src]Struct ipfs_embed_core::BitswapStorage

pub struct BitswapStorage<S: StoreParams, T: Storage<S>> { /* fields omitted */ }

Implementations

impl<S: StoreParams, T: Storage<S>> BitswapStorage<S, T>[src]

pub fn new(store: Arc<T>) -> Self[src]

Trait Implementations

impl<S: StoreParams, T: Storage<S>> BitswapStore<S> for BitswapStorage<S, T>[src]

impl<S: StoreParams, T: Storage<S>> BitswapSync for BitswapStorage<S, T> where
    Ipld: References<S::Codecs>, 
[src]

Auto Trait Implementations

impl<S, T> RefUnwindSafe for BitswapStorage<S, T> where
    S: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<S, T> Send for BitswapStorage<S, T>[src]

impl<S, T> Sync for BitswapStorage<S, T>[src]

impl<S, T> Unpin for BitswapStorage<S, T>[src]

impl<S, T> UnwindSafe for BitswapStorage<S, T> where
    S: UnwindSafe,
    T: RefUnwindSafe
[src]

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> References<RawCodec> for T

impl<T> Same<T> for T

type Output = T

Should always be Self

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