pub struct NotifyStream<T: Deref<Target = Notify>> { /* private fields */ }
Implementations§
Source§impl<T: Deref<Target = Notify>> NotifyStream<T>
impl<T: Deref<Target = Notify>> NotifyStream<T>
Sourcepub fn new(notify: T) -> Self
pub fn new(notify: T) -> Self
Create NotifyStream
from T
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
acquire the inner [T
]
Trait Implementations§
Source§impl<T: Deref<Target = Notify>> Stream for NotifyStream<T>
impl<T: Deref<Target = Notify>> Stream for NotifyStream<T>
impl<'__pin, T: Deref<Target = Notify>> Unpin for NotifyStream<T>where
PinnedFieldsOf<__Origin<'__pin, T>>: Unpin,
Auto Trait Implementations§
impl<T> Freeze for NotifyStream<T>where
T: Freeze,
impl<T> RefUnwindSafe for NotifyStream<T>where
T: RefUnwindSafe,
impl<T> Send for NotifyStream<T>where
T: Send,
impl<T> Sync for NotifyStream<T>where
T: Sync,
impl<T> UnwindSafe for NotifyStream<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