Type Alias holochain::prelude::kitsune_p2p::event::KitsuneP2pEventHandlerResult
source · pub type KitsuneP2pEventHandlerResult<T> = Result<MustBoxFuture<'static, Result<T, KitsuneP2pError>>, KitsuneP2pError>;
Expand description
Handler Result Type.
Aliased Type§
enum KitsuneP2pEventHandlerResult<T> {
Ok(MustBoxFuture<'static, Result<T, KitsuneP2pError>>),
Err(KitsuneP2pError),
}
Variants§
Ok(MustBoxFuture<'static, Result<T, KitsuneP2pError>>)
Contains the success value
Err(KitsuneP2pError)
Contains the error value