Trait holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::ghost_actor::dependencies::mockall::Downcast
pub trait Downcast<T>: Anywhere
T: Any,{
// Provided methods
fn is_type(&self) -> bool { ... }
fn downcast_ref(&self) -> Result<&T, TypeMismatch> { ... }
fn downcast_mut(&mut self) -> Result<&mut T, TypeMismatch> { ... }
fn downcast(
self: Box<Self, Global>
) -> Result<Box<T, Global>, DowncastError<Box<Self, Global>>> { ... }
fn downcast_rc(self: Rc<Self>) -> Result<Rc<T>, DowncastError<Rc<Self>>> { ... }
}