pub enum Notification<T> {
Next(T),
Complete,
}
Variants§
Implementations§
Source§impl<T> Notification<T>
impl<T> Notification<T>
pub fn inner_value(self) -> Option<T>
Trait Implementations§
Source§impl<T: Clone> Clone for Notification<T>
impl<T: Clone> Clone for Notification<T>
Source§impl<T: Debug> Debug for Notification<T>
impl<T: Debug> Debug for Notification<T>
Source§impl<T: PartialEq> PartialEq for Notification<T>
impl<T: PartialEq> PartialEq for Notification<T>
Auto Trait Implementations§
impl<T> Freeze for Notification<T>where
T: Freeze,
impl<T> RefUnwindSafe for Notification<T>where
T: RefUnwindSafe,
impl<T> Send for Notification<T>where
T: Send,
impl<T> Sync for Notification<T>where
T: Sync,
impl<T> Unpin for Notification<T>where
T: Unpin,
impl<T> UnwindSafe for Notification<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more