Flexible routing
Another massive refactor to change the way routing works. Now any column can route anywhere. Also things are generally just much better and more modular via the new struct split borrowing technique. I didn't even try to split this into smaller commits for my sanity. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -40,9 +40,10 @@ impl fmt::Display for SubscriptionError {
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
TimelineNotFound,
|
||||
LoadFailed,
|
||||
SubscriptionError(SubscriptionError),
|
||||
Filter(FilterError),
|
||||
LoadFailed,
|
||||
Io(io::Error),
|
||||
Nostr(enostr::Error),
|
||||
Ndb(nostrdb::Error),
|
||||
@@ -72,6 +73,7 @@ impl fmt::Display for Error {
|
||||
Self::SubscriptionError(e) => {
|
||||
write!(f, "{e}")
|
||||
}
|
||||
Self::TimelineNotFound => write!(f, "Timeline not found"),
|
||||
Self::LoadFailed => {
|
||||
write!(f, "load failed")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user