Struct sea_streamer_types::StreamUrl
source · pub struct StreamUrl { /* private fields */ }
Expand description
Streamer URI with stream key(s).
Examples:
ⓘ
stdio:///stream_a,stream_b
redis://localhost/stream_a,stream_b
kafka://node-a:1234,node-b:1234/stream_a,stream_b
file://./path/to/stream/stream_a,stream_b
Implementations§
source§impl StreamUrl
impl StreamUrl
pub fn streamer(&self) -> StreamerUri
pub fn streamer_ref(&self) -> &StreamerUri
pub fn stream_keys(&self) -> &[StreamKey]
pub fn stream_key(&self) -> Result<StreamKey, StreamUrlErr>
Trait Implementations§
source§impl PartialEq for StreamUrl
impl PartialEq for StreamUrl
impl Eq for StreamUrl
impl StructuralPartialEq for StreamUrl
Auto Trait Implementations§
impl Freeze for StreamUrl
impl RefUnwindSafe for StreamUrl
impl Send for StreamUrl
impl Sync for StreamUrl
impl Unpin for StreamUrl
impl UnwindSafe for StreamUrl
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