pub enum YankState {
Yanked,
UnknownLocal,
Available,
}Expand description
Whether this crate was marked as yanked on crates.io
Variants§
Yanked
It was yanked
UnknownLocal
The its cached locally, so we can’t know unless we do a http req.
Available
Its not been yanked
Trait Implementations§
impl Copy for YankState
impl Eq for YankState
impl StructuralPartialEq for YankState
Auto Trait Implementations§
impl Freeze for YankState
impl RefUnwindSafe for YankState
impl Send for YankState
impl Sync for YankState
impl Unpin for YankState
impl UnwindSafe for YankState
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