pub trait ForwardedTLVProvider {
// Required method
fn next_if_smaller(&mut self, max_size: usize) -> Option<ForwardedTLV<'_>>;
}
Expand description
Source of TLVs that need to be forwarded, provided to announce sender.
Required Methods§
Sourcefn next_if_smaller(&mut self, max_size: usize) -> Option<ForwardedTLV<'_>>
fn next_if_smaller(&mut self, max_size: usize) -> Option<ForwardedTLV<'_>>
Should provide the next available TLV, unless it is larger than max_size