sendable 0.6.4

Substitutes for Rc and Option that facilitate sending data between threads.
Documentation
//! Optional support for the deepsize crate.
use crate::{SendOption, SendRc};

impl<T> deepsize::DeepSizeOf for SendRc<T>
where
    T: deepsize::DeepSizeOf,
{
    fn deep_size_of_children(&self, context: &mut deepsize::Context) -> usize {
        (**self).deep_size_of_children(context)
    }
}

impl<T> deepsize::DeepSizeOf for SendOption<T>
where
    T: deepsize::DeepSizeOf,
{
    fn deep_size_of_children(&self, context: &mut deepsize::Context) -> usize {
        (**self).deep_size_of_children(context)
    }
}