Enum asyncgit::sync::status::StatusType
source · pub enum StatusType {
WorkingDir,
Stage,
Both,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for StatusType
impl Clone for StatusType
source§fn clone(&self) -> StatusType
fn clone(&self) -> StatusType
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 StatusType
impl Debug for StatusType
source§impl Default for StatusType
impl Default for StatusType
source§impl From<StatusType> for StatusShow
impl From<StatusType> for StatusShow
source§fn from(s: StatusType) -> Self
fn from(s: StatusType) -> Self
Converts to this type from the input type.
source§impl Hash for StatusType
impl Hash for StatusType
source§impl PartialEq for StatusType
impl PartialEq for StatusType
source§fn eq(&self, other: &StatusType) -> bool
fn eq(&self, other: &StatusType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StatusType
impl Eq for StatusType
impl StructuralPartialEq for StatusType
Auto Trait Implementations§
impl Freeze for StatusType
impl RefUnwindSafe for StatusType
impl Send for StatusType
impl Sync for StatusType
impl Unpin for StatusType
impl UnwindSafe for StatusType
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
source§impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
source§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
source§fn cast_approx(self) -> T
fn cast_approx(self) -> T
source§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more