forked from Orchid/orchid
Changes in api and upwards
- Removed out-of-stack error reporting - Revised module system to match previous Orchid system - Errors are now in a Vec everywhere - Implemented atoms and lexer - Started implementation of line parser - Tree is now ephemeral to avoid copying Atoms held inside - Moved numbers into std and the shared parser into base - Started implementation of Commands
This commit is contained in:
@@ -4,7 +4,7 @@ use std::sync::Arc;
|
||||
use orchid_api_derive::{Coding, Hierarchy};
|
||||
use orchid_api_traits::Request;
|
||||
|
||||
use crate::proto::{ExtHostReq, HostExtReq};
|
||||
use crate::proto::{ExtHostNotif, ExtHostReq, HostExtReq};
|
||||
|
||||
/// Intern requests sent by the replica to the master. These requests are
|
||||
/// repeatable.
|
||||
@@ -80,6 +80,16 @@ impl Request for Sweep {
|
||||
type Response = Retained;
|
||||
}
|
||||
|
||||
/// A notification from the extension to the host, that the extension would benefit from a sweep
|
||||
#[derive(Clone, Debug, Coding, Hierarchy)]
|
||||
#[extends(ExtHostNotif)]
|
||||
pub struct AdviseSweep(SweepReason);
|
||||
|
||||
#[derive(Clone, Debug, Coding)]
|
||||
pub enum SweepReason {
|
||||
None
|
||||
}
|
||||
|
||||
/// List of keys in this replica that couldn't be sweeped because local
|
||||
/// datastructures reference their value.
|
||||
#[derive(Clone, Debug, Coding)]
|
||||
|
||||
Reference in New Issue
Block a user