Rename some methods for consistency
This commit is contained in:
parent
ee216d407e
commit
282609916a
6 changed files with 71 additions and 57 deletions
|
|
@ -142,8 +142,8 @@ impl<M: Msg> Tree<M> {
|
|||
pub trait MsgStore<M: Msg> {
|
||||
async fn path(&self, id: &M::Id) -> Path<M::Id>;
|
||||
async fn tree(&self, root: &M::Id) -> Tree<M>;
|
||||
async fn prev_tree(&self, tree: &M::Id) -> Option<M::Id>;
|
||||
async fn next_tree(&self, tree: &M::Id) -> Option<M::Id>;
|
||||
async fn first_tree(&self) -> Option<M::Id>;
|
||||
async fn last_tree(&self) -> Option<M::Id>;
|
||||
async fn prev_tree_id(&self, tree: &M::Id) -> Option<M::Id>;
|
||||
async fn next_tree_id(&self, tree: &M::Id) -> Option<M::Id>;
|
||||
async fn first_tree_id(&self) -> Option<M::Id>;
|
||||
async fn last_tree_id(&self) -> Option<M::Id>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue