filament-link · request
Source declarations, signatures and documentation for request.
Read the current implementation boundaries before integration. This reference reproduces declarations; it omits source comments whose examples or readiness claims have not been verified.
Source: sigil/weave/filament/filament-link/src/request.rs. SHA-256: d1c539a674111b408c543bd7dffb0addb17d517dc940596ee1bc7c209baad8d0.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
request::LinkRequest
#[derive(Debug, Clone)]
pub struct LinkRequest {
/// Target destination hash
pub destination: DestinationHash,
/// Initiator's ephemeral encryption public key (X25519)
pub ephemeral_encryption_key: PublicKey,
/// Initiator's ephemeral signing public key (Ed25519)
pub ephemeral_signing_key: VerifyingKey,
/// Link context byte
pub context: u8
}Source line: 33.
request::LinkRequest::SIZE
pub const SIZE: usize;Source line: 49.
request::LinkRequest::new
pub fn new(destination: DestinationHash, _identity: &Identity) -> (Self, LinkId);Source line: 61.
request::LinkRequest::to_bytes
pub fn to_bytes(&self) -> [u8; Self::SIZE];Source line: 84.
request::LinkRequest::from_bytes
pub fn from_bytes(bytes: &[u8]) -> Result<Self>;Source line: 111.
request::LinkRequest::compute_link_id
pub fn compute_link_id(&self) -> LinkId;Source line: 154.
request::LinkRequest::validate
pub fn validate(&self) -> Result<()>;Source line: 165.