pub struct DaoScriptSizeVerifier<DL> { /* private fields */ }
Expand description
Verifies that deposit cell and withdrawing cell in Nervos DAO use same sized lock scripts. It provides a temporary solution till Nervos DAO script can be properly upgraded.
Implementations§
Source§impl<DL: CellDataProvider> DaoScriptSizeVerifier<DL>
impl<DL: CellDataProvider> DaoScriptSizeVerifier<DL>
Auto Trait Implementations§
impl<DL> Freeze for DaoScriptSizeVerifier<DL>where
DL: Freeze,
impl<DL> RefUnwindSafe for DaoScriptSizeVerifier<DL>where
DL: RefUnwindSafe,
impl<DL> Send for DaoScriptSizeVerifier<DL>where
DL: Send,
impl<DL> Sync for DaoScriptSizeVerifier<DL>where
DL: Sync,
impl<DL> Unpin for DaoScriptSizeVerifier<DL>where
DL: Unpin,
impl<DL> UnwindSafe for DaoScriptSizeVerifier<DL>where
DL: UnwindSafe,
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<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