pub enum Binding<'a> {
Direct,
Attributes {
digest: &'a [u8],
digest_span: Span,
protection: Option<Protection<'a>>,
},
}Expand description
Content bytes are signed directly or bound through original signed attributes.
Variants§
Direct
The signature input is the logical content (or parent signature) itself.
Attributes
Signed attributes bind the content digest; signature input is their original SET spelling.
Fields
§
protection: Option<Protection<'a>>Original algorithm protection, when present. Semantic comparison remains mandatory.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Binding<'a>
impl<'a> !Send for Binding<'a>
impl<'a> !Sync for Binding<'a>
impl<'a> !UnwindSafe for Binding<'a>
impl<'a> Freeze for Binding<'a>
impl<'a> Unpin for Binding<'a>
impl<'a> UnsafeUnpin for Binding<'a>
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