pub struct RawInterest {
pub name: Name,
pub app_params: Option<Bytes>,
}Expand description
Parsed fields from a raw Interest TLV without digest validation.
Used by discovery protocols for link-local hello Interests where the full
NDN AppParams digest requirement (ParametersSha256DigestComponent) is not
enforced — the receiver trusts the link rather than a cryptographic chain.
Fields§
§name: Name§app_params: Option<Bytes>Auto Trait Implementations§
impl !Freeze for RawInterest
impl RefUnwindSafe for RawInterest
impl Send for RawInterest
impl Sync for RawInterest
impl Unpin for RawInterest
impl UnwindSafe for RawInterest
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