Enum dataflow::render::sources::SourceType [−][src]
enum SourceType<Delimited, ByteStream> {
Delimited(Delimited),
ByteStream(ByteStream),
}
Expand description
A type-level enum that holds one of two types of sources depending on their message type
This enum puts no restrictions to the generic parameters of the variants since it only serves as a type-level enum.
Variants
Delimited(Delimited)
A delimited source
ByteStream(ByteStream)
A bytestream source
Auto Trait Implementations
impl<Delimited, ByteStream> RefUnwindSafe for SourceType<Delimited, ByteStream> where
ByteStream: RefUnwindSafe,
Delimited: RefUnwindSafe,
impl<Delimited, ByteStream> Send for SourceType<Delimited, ByteStream> where
ByteStream: Send,
Delimited: Send,
impl<Delimited, ByteStream> Sync for SourceType<Delimited, ByteStream> where
ByteStream: Sync,
Delimited: Sync,
impl<Delimited, ByteStream> Unpin for SourceType<Delimited, ByteStream> where
ByteStream: Unpin,
Delimited: Unpin,
impl<Delimited, ByteStream> UnwindSafe for SourceType<Delimited, ByteStream> where
ByteStream: UnwindSafe,
Delimited: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more