pub enum ReposGetReleaseAssetError {
Status404(BasicError),
Status302,
Generic {
code: u16,
},
}Expand description
Errors for the Get a release asset endpoint.
Variants§
Trait Implementations§
Source§impl Debug for ReposGetReleaseAssetError
impl Debug for ReposGetReleaseAssetError
Source§impl Display for ReposGetReleaseAssetError
impl Display for ReposGetReleaseAssetError
Source§impl Error for ReposGetReleaseAssetError
impl Error for ReposGetReleaseAssetError
1.30.0 · 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<ReposGetReleaseAssetError> for AdapterError
impl From<ReposGetReleaseAssetError> for AdapterError
Source§fn from(err: ReposGetReleaseAssetError) -> Self
fn from(err: ReposGetReleaseAssetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReposGetReleaseAssetError
impl RefUnwindSafe for ReposGetReleaseAssetError
impl Send for ReposGetReleaseAssetError
impl Sync for ReposGetReleaseAssetError
impl Unpin for ReposGetReleaseAssetError
impl UnwindSafe for ReposGetReleaseAssetError
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