Enum ckb_types::core::cell::CellStatus
source · pub enum CellStatus {
Live(CellMeta),
Dead,
Unknown,
}
Expand description
TODO(doc): @quake
Variants§
Live(CellMeta)
Cell exists and has not been spent.
Dead
Cell exists and has been spent.
Unknown
Cell is out of index.
Implementations§
Trait Implementations§
source§impl Debug for CellStatus
impl Debug for CellStatus
source§impl PartialEq for CellStatus
impl PartialEq for CellStatus
source§fn eq(&self, other: &CellStatus) -> bool
fn eq(&self, other: &CellStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CellStatus
impl StructuralPartialEq for CellStatus
Auto Trait Implementations§
impl RefUnwindSafe for CellStatus
impl Send for CellStatus
impl Sync for CellStatus
impl Unpin for CellStatus
impl UnwindSafe for CellStatus
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