pub enum SourceOutput {
Bytes(Box<dyn BytesSource>),
Packets(Box<dyn PacketSource>),
Frames(Box<dyn FrameSource>),
}Expand description
What a SourceRegistry::open call returns. The variant is decided
at driver-registration time, so callers can match on the shape and
branch the pipeline accordingly.
Variants§
Auto Trait Implementations§
impl Freeze for SourceOutput
impl !RefUnwindSafe for SourceOutput
impl Send for SourceOutput
impl !Sync for SourceOutput
impl Unpin for SourceOutput
impl UnsafeUnpin for SourceOutput
impl !UnwindSafe for SourceOutput
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