[][src]Struct warmy::json::Json

pub struct Json;

The JSON universal method. Use this with Store::get_by or Store::get_proxied_by to benefit from the automatic implementors.

Trait Implementations

impl<C, K, T> Load<C, K, Json> for T where
    K: Key + Into<Option<PathBuf>>,
    T: 'static + for<'de> Deserialize<'de>, 
[src]

type Error = JsonError

Type of error that might happen while loading.

fn reload(
    &self,
    key: K,
    storage: &mut Storage<C, K>,
    ctx: &mut C
) -> Result<Self, Self::Error>
[src]

Function called when a resource must be reloaded. Read more

impl Eq for Json
[src]

impl Copy for Json
[src]

impl PartialEq<Json> for Json
[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for Json
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Json
[src]

impl Hash for Json
[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Json

impl Sync for Json

Blanket Implementations

impl<'a, T, C, M> Inspect for T
[src]

impl<'a, T, C, M> Inspect for T
[src]

impl<'a, T, C, M> Inspect for T
[src]

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T