pub struct KESVkey(/* private fields */);Implementations§
Source§impl KESVkey
impl KESVkey
Sourcepub fn to_raw_bytes(&self) -> Vec<u8> ⓘ
pub fn to_raw_bytes(&self) -> Vec<u8> ⓘ
- Direct raw bytes without any CBOR structure
Sourcepub fn from_raw_bytes(bytes: &[u8]) -> Result<KESVkey, JsError>
pub fn from_raw_bytes(bytes: &[u8]) -> Result<KESVkey, JsError>
- Parse from the direct raw bytes, without any CBOR structure
Trait Implementations§
Source§impl FromWasmAbi for KESVkey
impl FromWasmAbi for KESVkey
Source§impl IntoWasmAbi for KESVkey
impl IntoWasmAbi for KESVkey
Source§impl LongRefFromWasmAbi for KESVkey
impl LongRefFromWasmAbi for KESVkey
Source§impl OptionFromWasmAbi for KESVkey
impl OptionFromWasmAbi for KESVkey
Source§impl OptionIntoWasmAbi for KESVkey
impl OptionIntoWasmAbi for KESVkey
Source§impl RefFromWasmAbi for KESVkey
impl RefFromWasmAbi for KESVkey
Source§impl RefMutFromWasmAbi for KESVkey
impl RefMutFromWasmAbi for KESVkey
Source§impl TryFromJsValue for KESVkey
impl TryFromJsValue for KESVkey
Source§impl VectorFromWasmAbi for KESVkey
impl VectorFromWasmAbi for KESVkey
Source§impl VectorIntoWasmAbi for KESVkey
impl VectorIntoWasmAbi for KESVkey
impl SupportsConstructor for KESVkey
impl SupportsInstanceProperty for KESVkey
impl SupportsStaticProperty for KESVkey
Auto Trait Implementations§
impl Freeze for KESVkey
impl RefUnwindSafe for KESVkey
impl Send for KESVkey
impl Sync for KESVkey
impl Unpin for KESVkey
impl UnwindSafe for KESVkey
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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.