Enum spotifyrs::SpotifyError
source · pub enum SpotifyError {
Show 13 variants
RequestError(String),
InsufficientScope(String),
FailedRequest(String),
BadOrExpiredToken(String),
RateLimitExceeded(String),
BadRequest(String),
InvalidRequest(String),
AuthenticationError(String),
NotAuthenticated,
FileError(String),
NoFile,
GeneralError(String),
Unauthorized(String),
}
Expand description
Error object for Spotify struct
Variants§
RequestError(String)
InsufficientScope(String)
FailedRequest(String)
BadOrExpiredToken(String)
RateLimitExceeded(String)
BadRequest(String)
InvalidRequest(String)
AuthenticationError(String)
NotAuthenticated
FileError(String)
NoFile
GeneralError(String)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SpotifyError
impl Send for SpotifyError
impl Sync for SpotifyError
impl Unpin for SpotifyError
impl UnwindSafe for SpotifyError
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