pub struct FrankenLeafNode {
pub payload: FrankenLeafNodePayload,
pub signature: VLBytes,
}Available on (32-bit or 64-bit) and (crate features
test-utils) only.Fields§
§payload: FrankenLeafNodePayload§signature: VLBytesImplementations§
Source§impl FrankenLeafNode
impl FrankenLeafNode
pub fn resign( &mut self, tree_position: Option<FrankenTreePosition>, signer: &impl Signer, )
Trait Implementations§
Source§impl Clone for FrankenLeafNode
impl Clone for FrankenLeafNode
Source§fn clone(&self) -> FrankenLeafNode
fn clone(&self) -> FrankenLeafNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrankenLeafNode
impl Debug for FrankenLeafNode
Source§impl Deref for FrankenLeafNode
impl Deref for FrankenLeafNode
Source§impl DerefMut for FrankenLeafNode
impl DerefMut for FrankenLeafNode
Source§impl Deserialize for FrankenLeafNode
impl Deserialize for FrankenLeafNode
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
Available on crate feature
std only.This function deserializes the
bytes from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl DeserializeBytes for FrankenLeafNode
impl DeserializeBytes for FrankenLeafNode
Source§impl From<FrankenLeafNode> for LeafNode
impl From<FrankenLeafNode> for LeafNode
Source§fn from(fln: FrankenLeafNode) -> Self
fn from(fln: FrankenLeafNode) -> Self
Converts to this type from the input type.
Source§impl From<LeafNode> for FrankenLeafNode
impl From<LeafNode> for FrankenLeafNode
Source§impl PartialEq for FrankenLeafNode
impl PartialEq for FrankenLeafNode
Source§impl Serialize for &FrankenLeafNode
impl Serialize for &FrankenLeafNode
Source§impl Serialize for FrankenLeafNode
impl Serialize for FrankenLeafNode
Source§impl SignedStruct<FrankenLeafNodeTbs> for FrankenLeafNode
impl SignedStruct<FrankenLeafNodeTbs> for FrankenLeafNode
Source§fn from_payload(
tbs: FrankenLeafNodeTbs,
signature: Signature,
_serialized_payload: Vec<u8>,
) -> Self
fn from_payload( tbs: FrankenLeafNodeTbs, signature: Signature, _serialized_payload: Vec<u8>, ) -> Self
Build a signed struct version from the payload struct.
Source§impl Size for &FrankenLeafNode
impl Size for &FrankenLeafNode
fn tls_serialized_len(&self) -> usize
Source§impl Size for FrankenLeafNode
impl Size for FrankenLeafNode
fn tls_serialized_len(&self) -> usize
impl Eq for FrankenLeafNode
impl StructuralPartialEq for FrankenLeafNode
Auto Trait Implementations§
impl Freeze for FrankenLeafNode
impl RefUnwindSafe for FrankenLeafNode
impl Send for FrankenLeafNode
impl Sync for FrankenLeafNode
impl Unpin for FrankenLeafNode
impl UnwindSafe for FrankenLeafNode
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
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 more