Struct shred::Fetch [] [src]

pub struct Fetch<'a, T: 'a> { /* fields omitted */ }

Allows to fetch a resource in a system immutably.

If the resource isn't strictly required, you should use Option<Fetch<T>>.

Type parameters

  • T: The type of the resource

Trait Implementations

impl<'a, T, F> From<Fetch<'a, T>> for Read<'a, T, F>
[src]

[src]

Performs the conversion.

impl<'a, T> Deref for Fetch<'a, T> where
    T: Resource
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

Auto Trait Implementations

impl<'a, T> Send for Fetch<'a, T> where
    T: Sync

impl<'a, T> Sync for Fetch<'a, T> where
    T: Sync