pub trait SignatureUpdater {
// Required method
fn update(&self, output: &mut dyn SignatureOutput) -> Result<(), CryptError>;
}Expand description
A function that updates signature data by writing bytes.
Equivalent to SignatureUpdater in Minecraft.
Required Methods§
Sourcefn update(&self, output: &mut dyn SignatureOutput) -> Result<(), CryptError>
fn update(&self, output: &mut dyn SignatureOutput) -> Result<(), CryptError>
Updates the signature with the given bytes.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl SignatureUpdater for &[u8]
Implementation of SignatureUpdater for raw byte slices.
impl SignatureUpdater for &[u8]
Implementation of SignatureUpdater for raw byte slices.