bifrostlink 0.2.0

Topology-aware RPC library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::fmt::Display;

#[derive(Debug)]
pub struct ResponseError(pub String);
#[derive(Debug)]
pub struct ListenerForYourRequestHasBeenDeadError;

pub trait ErrorT:
	Send
	+ Sync
	+ 'static
	+ Display
	+ From<ResponseError>
	+ Into<ResponseError>
	+ From<serde_json::Error>
	+ From<ListenerForYourRequestHasBeenDeadError>
{
}