File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -108,11 +108,19 @@ pub trait MutableValueLikeItem<T> {
108
108
fn set_handler < C : ' static > ( projection : fn ( & C ) -> & Self , value : T ) -> Self :: SetHandler < C > ;
109
109
}
110
110
111
+ /// Trait for abstracting over common functionality between Join Map and Join Value lanes.
111
112
pub trait JoinLikeItem < L > {
113
+ /// Handler action for removing a downlink from a join lane.
112
114
type RemoveDownlinkHandler < C > : HandlerAction < C , Completion = ( ) > + Send + ' static
113
115
where
114
116
C : ' static ;
115
117
118
+ /// Create a handler that will remove a downlink from the lane and clear any entries in the
119
+ /// underlying map.
120
+ ///
121
+ /// # Arguments
122
+ /// * `projection`: a projection to the join lane.
123
+ /// * `link_key`: a key that signifies the downlink to remove.
116
124
fn remove_downlink_handler < C : ' static > (
117
125
projection : fn ( & C ) -> & Self ,
118
126
link_key : L ,
You can’t perform that action at this time.
0 commit comments