pub trait StateTransitionSingleSigned: Sized {
// Required methods
fn signature(&self) -> &BinaryData;
fn set_signature(&mut self, signature: BinaryData);
fn set_signature_bytes(&mut self, signature: Vec<u8>);
}Required Methods§
Sourcefn set_signature(&mut self, signature: BinaryData)
fn set_signature(&mut self, signature: BinaryData)
set a new signature
Sourcefn set_signature_bytes(&mut self, signature: Vec<u8>)
fn set_signature_bytes(&mut self, signature: Vec<u8>)
sets the signature bytes
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.