reduce warnings and do more things

This commit is contained in:
Nadja Reitzenstein
2022-03-07 18:27:54 +01:00
parent b543b3b80d
commit f932ff8e7a
6 changed files with 163 additions and 229 deletions

View File

@ -66,8 +66,12 @@ impl UpdateSink {
struct Resource;
pub struct InitiatorDriver<S, I: Initiator> {
// TODO: make this a static reference to the resource because it's much easier and we don't
// need to replace resources at runtime at the moment.
resource_signal: S,
resource: Option<channel::Sender<Update>>,
// TODO: Initiators should instead
error_channel: Option<oneshot::Receiver<Error>>,
initiator: I,