From bcf60257a86fec924dda8c71ab3a5fe0be5b74cd Mon Sep 17 00:00:00 2001 From: Eskil Q Date: Sat, 2 Jan 2021 08:55:18 +0100 Subject: add is_exhausted method to StreamingSignal trait --- mumd/src/audio.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mumd/src') diff --git a/mumd/src/audio.rs b/mumd/src/audio.rs index 7d4929c..9c9648b 100644 --- a/mumd/src/audio.rs +++ b/mumd/src/audio.rs @@ -429,6 +429,10 @@ trait StreamingSignal { type Frame: Frame; fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll; + + fn is_exhausted(&self) -> bool { + false + } } impl StreamingSignal for S -- cgit v1.2.1