Enum github_email::GithubError
source · Expand description
Find Github Email
Find github user email.
API
https://docs.github.com/en/rest/activity/events
Online
Rust
#[tokio::test]
async fn find_email() {
use github_email::{parse_queries, Authors};
let mut authors = Authors::default();
let url = r#"
https://github.com/oovm/
https://github.com/oovm/get-github-email
"#;
for query in parse_queries(url) {
authors.query(query).await.ok();
}
println!("{authors}")
}Variants
NetworkError(String)
RuntimeError(String)
UnknownError
Trait Implementations
sourceimpl Clone for GithubError
impl Clone for GithubError
sourcefn clone(&self) -> GithubError
fn clone(&self) -> GithubError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for GithubError
impl Debug for GithubError
sourceimpl Display for GithubError
impl Display for GithubError
sourceimpl Error for GithubError
impl Error for GithubError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for GithubError
impl From<Error> for GithubError
Auto Trait Implementations
impl RefUnwindSafe for GithubError
impl Send for GithubError
impl Sync for GithubError
impl Unpin for GithubError
impl UnwindSafe for GithubError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more