pub enum CatchupError {
Disabled,
InvalidSource(String),
OutsideWindow {
requested: i64,
window_days: i32,
},
UrlParseFailed {
provider: String,
url: String,
},
Regex(Error),
}Expand description
Errors that can occur during catchup URL generation or validation.
Variants§
Disabled
The catchup mode is disabled for this channel.
InvalidSource(String)
The catchup source template is empty or invalid.
OutsideWindow
The requested time is outside the catchup window.
UrlParseFailed
Failed to parse a provider URL (Flussonic or Xtream Codes).
Regex(Error)
A regex compilation error.
Trait Implementations§
Source§impl Debug for CatchupError
impl Debug for CatchupError
Source§impl Display for CatchupError
impl Display for CatchupError
Source§impl Error for CatchupError
impl Error for CatchupError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for CatchupError
impl RefUnwindSafe for CatchupError
impl Send for CatchupError
impl Sync for CatchupError
impl Unpin for CatchupError
impl UnsafeUnpin for CatchupError
impl UnwindSafe for CatchupError
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