Weave documentation
Filament referencefilament-packet

filament-packet · validation

Source declarations, signatures and documentation for validation.

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-packet/src/validation.rs. SHA-256: fed58c43207d5362e1561fa1edba438ff9f5759729b6d026795751e3b4823ddd.

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.

validation::PacketValidator

#[derive(Debug, Clone)]
pub struct PacketValidator {

}

Source line: 12.

validation::PacketValidator::new

#[inline]
pub const fn new() -> Self;

Source line: 26.

validation::PacketValidator::with_max_size

#[inline]
pub const fn with_max_size(mut self, max_size: usize) -> Self;

Source line: 36.

validation::PacketValidator::with_max_hop_count

#[inline]
pub const fn with_max_hop_count(mut self, max_hop_count: u8) -> Self;

Source line: 43.

validation::PacketValidator::with_strict_ifac

#[inline]
pub const fn with_strict_ifac(mut self, strict: bool) -> Self;

Source line: 50.

validation::PacketValidator::validate

pub fn validate(&self, packet: &Packet) -> Result<()>;

Source line: 56.

validation::PacketValidator::validate_size

#[inline]
pub fn validate_size(&self, packet: &Packet) -> Result<()>;

Source line: 76.

validation::PacketValidator::validate_hop_count

#[inline]
pub fn validate_hop_count(&self, packet: &Packet) -> Result<()>;

Source line: 89.

validation::PacketValidator::validate_fields

pub fn validate_fields(&self, packet: &Packet) -> Result<()>;

Source line: 102.

validation::PacketValidator::validate_ifac

pub fn validate_ifac(&self, packet: &Packet) -> Result<()>;

Source line: 143.

On this page