pub struct TransformSource<T: Clone> { /* private fields */ }Implementations§
Source§impl<T: Clone + Send + Sync + 'static> TransformSource<T>
impl<T: Clone + Send + Sync + 'static> TransformSource<T>
pub fn new(inner: Arc<InnerSource<T>>) -> Self
pub fn set_operators(&mut self, operators: Vec<Arc<InnerOperator<T, T>>>)
Trait Implementations§
Source§impl<T: Clone + Clone> Clone for TransformSource<T>
impl<T: Clone + Clone> Clone for TransformSource<T>
Source§fn clone(&self) -> TransformSource<T>
fn clone(&self) -> TransformSource<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Clone + Send + Sync + 'static> Source<T> for TransformSource<T>
impl<T: Clone + Send + Sync + 'static> Source<T> for TransformSource<T>
Source§fn init<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = StreamResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn init<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = StreamResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Initialize the source
Auto Trait Implementations§
impl<T> Freeze for TransformSource<T>
impl<T> !RefUnwindSafe for TransformSource<T>
impl<T> Send for TransformSource<T>where
T: Send,
impl<T> Sync for TransformSource<T>where
T: Sync,
impl<T> Unpin for TransformSource<T>where
T: Unpin,
impl<T> !UnwindSafe for TransformSource<T>
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