Type Definition interlink::link::LinkResult

source ·
pub type LinkResult<T> = Result<T, LinkError>;
Expand description

Result type for results where the error is a LinkError

Trait Implementations§

source§

impl<S, M, R, E> ResponseHandler<S, M> for Result<R, E>where R: ResponseHandler<S, M>, S: Service + ErrorHandler<E>, M: Message, E: Send + 'static,

Response handler for result response types where the error half of the result can be handled by a service error handler

source§

fn respond( self, service: &mut S, ctx: &mut ServiceContext<S>, tx: Option<Sender<<M as Message>::Response>> )