Enum sea_streamer::StreamUrlErr
source · pub enum StreamUrlErr {
UrlParseError(ParseError),
StreamKeyErr(StreamKeyErr),
NotOneStreamKey,
ZeroNode,
ProtocolRequired,
NoEndingSlash,
}
Expand description
Errors that may happen when parsing stream URL
Variants§
UrlParseError(ParseError)
StreamKeyErr(StreamKeyErr)
NotOneStreamKey
ZeroNode
ProtocolRequired
NoEndingSlash
Trait Implementations§
source§impl Clone for StreamUrlErr
impl Clone for StreamUrlErr
source§fn clone(&self) -> StreamUrlErr
fn clone(&self) -> StreamUrlErr
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 StreamUrlErr
impl Debug for StreamUrlErr
source§impl Display for StreamUrlErr
impl Display for StreamUrlErr
source§impl Error for StreamUrlErr
impl Error for StreamUrlErr
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ParseError> for StreamUrlErr
impl From<ParseError> for StreamUrlErr
source§fn from(source: ParseError) -> StreamUrlErr
fn from(source: ParseError) -> StreamUrlErr
Converts to this type from the input type.
source§impl From<StreamKeyErr> for StreamUrlErr
impl From<StreamKeyErr> for StreamUrlErr
source§fn from(source: StreamKeyErr) -> StreamUrlErr
fn from(source: StreamKeyErr) -> StreamUrlErr
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StreamUrlErr
impl RefUnwindSafe for StreamUrlErr
impl Send for StreamUrlErr
impl Sync for StreamUrlErr
impl Unpin for StreamUrlErr
impl UnwindSafe for StreamUrlErr
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