pub enum RecommendationError {
Configuration(String),
NoParticipants,
InvalidParticipant(MediaProfileId),
Catalogue(TmdbError),
Availability(WatchmodeError),
Storage(MediaStoreError),
}Variants§
Configuration(String)
NoParticipants
InvalidParticipant(MediaProfileId)
Catalogue(TmdbError)
Availability(WatchmodeError)
Storage(MediaStoreError)
Trait Implementations§
Source§impl Debug for RecommendationError
impl Debug for RecommendationError
Source§impl Display for RecommendationError
impl Display for RecommendationError
Source§impl Error for RecommendationError
impl Error for RecommendationError
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()
Source§impl From<MediaStoreError> for RecommendationError
impl From<MediaStoreError> for RecommendationError
Source§fn from(source: MediaStoreError) -> Self
fn from(source: MediaStoreError) -> Self
Converts to this type from the input type.
Source§impl From<TmdbError> for RecommendationError
impl From<TmdbError> for RecommendationError
Source§impl From<WatchmodeError> for RecommendationError
impl From<WatchmodeError> for RecommendationError
Source§fn from(source: WatchmodeError) -> Self
fn from(source: WatchmodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RecommendationError
impl !UnwindSafe for RecommendationError
impl Freeze for RecommendationError
impl Send for RecommendationError
impl Sync for RecommendationError
impl Unpin for RecommendationError
impl UnsafeUnpin for RecommendationError
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