Struct shred::PanicHandler [] [src]

pub struct PanicHandler;

A setup handler that simply does nothing and thus will cause a panic on fetching. The panic will provide the type name if the nightly feature of shred is enabled.

A typedef called ReadExpect exists, so you usually don't use this type directly.

Trait Implementations

impl<T> SetupHandler<T> for PanicHandler where
    T: Resource
[src]

[src]

Sets up Resources for fetching T.

Auto Trait Implementations

impl Send for PanicHandler

impl Sync for PanicHandler