pub struct ReqwestGithubProvider { /* private fields */ }Expand description
Default implementation of GithubProvider using reqwest.
Implementations§
Source§impl ReqwestGithubProvider
impl ReqwestGithubProvider
Sourcepub fn new(base_url: String) -> Self
pub fn new(base_url: String) -> Self
Creates a new ReqwestGithubProvider with the specified base URL.
Trait Implementations§
Source§impl Default for ReqwestGithubProvider
Available on non-tarpaulin only.
impl Default for ReqwestGithubProvider
Available on non-
tarpaulin only.Source§impl GithubProvider for ReqwestGithubProvider
impl GithubProvider for ReqwestGithubProvider
Source§fn get_commit_sha<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
action: &'life1 str,
tag: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<String, PinnerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_commit_sha<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
action: &'life1 str,
tag: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<String, PinnerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Fetches the commit SHA for a given action and tag/branch.
Auto Trait Implementations§
impl !RefUnwindSafe for ReqwestGithubProvider
impl !UnwindSafe for ReqwestGithubProvider
impl Freeze for ReqwestGithubProvider
impl Send for ReqwestGithubProvider
impl Sync for ReqwestGithubProvider
impl Unpin for ReqwestGithubProvider
impl UnsafeUnpin for ReqwestGithubProvider
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