Trait Sink

Source
pub trait Sink<T, S>: Sized
where S: Source<T>,
{ type Connected; // Required method fn connect_source(self, src: S) -> Self::Connected; }

Required Associated Types§

Required Methods§

Source

fn connect_source(self, src: S) -> Self::Connected

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, T, S, U> Sink<T, U> for &'a mut Activator<T, S, U>
where S: Slot<T>, U: Source<T>,

Source§

impl<T, S> Sink<T, S> for DisconnectedActivator
where S: Source<T>,

Source§

impl<T, S, U> Sink<T, S> for SlotConnectedActivator<T, U>
where S: Source<T>, U: Slot<T>,