pub struct HttpGitHubSshKeyUploader { /* private fields */ }Expand description
HTTP implementation that uploads SSH signing keys to GitHub for commit verification.
Performs pre-flight duplicate detection before uploading, handles authentication failures and rate limiting gracefully, and retries transient errors with exponential backoff.
Usage:
ⓘ
let uploader = HttpGitHubSshKeyUploader::new();
let key_id = uploader.upload_signing_key(&token, &public_key, "auths/main").await?;Implementations§
Trait Implementations§
Source§impl Default for HttpGitHubSshKeyUploader
impl Default for HttpGitHubSshKeyUploader
Auto Trait Implementations§
impl Freeze for HttpGitHubSshKeyUploader
impl !RefUnwindSafe for HttpGitHubSshKeyUploader
impl Send for HttpGitHubSshKeyUploader
impl Sync for HttpGitHubSshKeyUploader
impl Unpin for HttpGitHubSshKeyUploader
impl UnsafeUnpin for HttpGitHubSshKeyUploader
impl !UnwindSafe for HttpGitHubSshKeyUploader
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