[−][src]Enum ckb_types::core::cell::CellStatus
Variants
Live(CellMeta)
Cell exists and has not been spent.
Cell exists and has been spent.
Cell is out of index.
Implementations
impl CellStatus
[src]
pub fn live_cell(cell_meta: CellMeta) -> CellStatus
[src]
pub fn is_live(&self) -> bool
[src]
pub fn is_dead(&self) -> bool
[src]
pub fn is_unknown(&self) -> bool
[src]
Trait Implementations
impl Debug for CellStatus
[src]
impl PartialEq<CellStatus> for CellStatus
[src]
fn eq(&self, other: &CellStatus) -> bool
[src]
fn ne(&self, other: &CellStatus) -> bool
[src]
impl StructuralPartialEq for CellStatus
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,