pub enum StreamSource {
Cache,
Exit,
}Expand description
Cause of a stream being remapped to another address.
§Example
use stem_rs::StreamSource;
let source = StreamSource::Cache;
println!("Stream source: {}", source); // Prints "CACHE"Variants§
Trait Implementations§
Source§impl Clone for StreamSource
impl Clone for StreamSource
Source§fn clone(&self) -> StreamSource
fn clone(&self) -> StreamSource
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 Debug for StreamSource
impl Debug for StreamSource
Source§impl Display for StreamSource
impl Display for StreamSource
Source§impl Hash for StreamSource
impl Hash for StreamSource
Source§impl PartialEq for StreamSource
impl PartialEq for StreamSource
impl Copy for StreamSource
impl Eq for StreamSource
impl StructuralPartialEq for StreamSource
Auto Trait Implementations§
impl Freeze for StreamSource
impl RefUnwindSafe for StreamSource
impl Send for StreamSource
impl Sync for StreamSource
impl Unpin for StreamSource
impl UnwindSafe for StreamSource
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