hanabi-core 0.1.0-alpha.2

Core library for Hanabi
Documentation
1
2
3
4
5
6
7
8
9
/// This trait is used to consume values from request and response
/// objects.
pub trait Consumable<T>
where
    T: Clone + Send + Sync,
{
    /// Consumes the object and returns an inner value.
    fn consume(self) -> T;
}