Struct schnorr_fun::musig::Adaptor
source · pub struct Adaptor { /* private fields */ }
Expand description
Marks the SignSession
as being used to create an adaptor (a.k.a. one-time encrypted)
signature.
Trait Implementations§
source§impl<'__de> BorrowDecode<'__de> for Adaptor
impl<'__de> BorrowDecode<'__de> for Adaptor
source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
source§impl<'de> Deserialize<'de> for Adaptor
impl<'de> Deserialize<'de> for Adaptor
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Adaptor
impl PartialEq for Adaptor
impl StructuralPartialEq for Adaptor
Auto Trait Implementations§
impl RefUnwindSafe for Adaptor
impl Send for Adaptor
impl Sync for Adaptor
impl Unpin for Adaptor
impl UnwindSafe for Adaptor
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