pub struct GitCancellationToken(/* private fields */);
Expand description
Token that can be used to cancel git operation.
Implementations§
Source§impl GitCancellationToken
impl GitCancellationToken
Sourcepub fn cancel_on_drop(self) -> GitCancelOnDrop
pub fn cancel_on_drop(self) -> GitCancelOnDrop
Create a guard that cancel the git operation on drop.
Trait Implementations§
Source§impl Clone for GitCancellationToken
impl Clone for GitCancellationToken
Source§fn clone(&self) -> GitCancellationToken
fn clone(&self) -> GitCancellationToken
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GitCancellationToken
impl Debug for GitCancellationToken
Source§impl Default for GitCancellationToken
impl Default for GitCancellationToken
Source§fn default() -> GitCancellationToken
fn default() -> GitCancellationToken
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GitCancellationToken
impl RefUnwindSafe for GitCancellationToken
impl Send for GitCancellationToken
impl Sync for GitCancellationToken
impl Unpin for GitCancellationToken
impl UnwindSafe for GitCancellationToken
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