pub enum StreamSourceEnum {
NoopStream,
Sys(StreamSource),
}
Variants§
NoopStream
Sys(StreamSource)
Trait Implementations§
source§impl Clone for StreamSourceEnum
impl Clone for StreamSourceEnum
source§fn clone(&self) -> StreamSourceEnum
fn clone(&self) -> StreamSourceEnum
Returns a copy 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 Debug for StreamSourceEnum
impl Debug for StreamSourceEnum
source§impl Display for StreamSourceEnum
impl Display for StreamSourceEnum
source§impl FromStr for StreamSourceEnum
impl FromStr for StreamSourceEnum
source§impl PartialEq for StreamSourceEnum
impl PartialEq for StreamSourceEnum
source§fn eq(&self, other: &StreamSourceEnum) -> bool
fn eq(&self, other: &StreamSourceEnum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StreamSourceEnum
impl Serialize for StreamSourceEnum
impl Copy for StreamSourceEnum
impl StructuralPartialEq for StreamSourceEnum
Auto Trait Implementations§
impl RefUnwindSafe for StreamSourceEnum
impl Send for StreamSourceEnum
impl Sync for StreamSourceEnum
impl Unpin for StreamSourceEnum
impl UnwindSafe for StreamSourceEnum
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
§impl<T> FromArgValue for T
impl<T> FromArgValue for T
§fn from_arg_value(value: &str) -> Result<T, String>
fn from_arg_value(value: &str) -> Result<T, String>
Construct the type from a commandline value, returning an error string
on failure.