pub enum DRepKind {
Key,
Script,
AlwaysAbstain,
AlwaysNoConfidence,
}Variants§
Trait Implementations§
Source§impl FromWasmAbi for DRepKind
impl FromWasmAbi for DRepKind
Source§impl IntoWasmAbi for DRepKind
impl IntoWasmAbi for DRepKind
Source§impl OptionFromWasmAbi for DRepKind
impl OptionFromWasmAbi for DRepKind
Source§impl OptionIntoWasmAbi for DRepKind
impl OptionIntoWasmAbi for DRepKind
Source§impl TryFromJsValue for DRepKind
impl TryFromJsValue for DRepKind
Source§impl VectorFromWasmAbi for DRepKind
impl VectorFromWasmAbi for DRepKind
Source§impl VectorIntoWasmAbi for DRepKind
impl VectorIntoWasmAbi for DRepKind
Auto Trait Implementations§
impl Freeze for DRepKind
impl RefUnwindSafe for DRepKind
impl Send for DRepKind
impl Sync for DRepKind
impl Unpin for DRepKind
impl UnwindSafe for DRepKind
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 moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.