pub fn check_tag_size(tag: &LinkTag) -> SysValidationResult<()> {
    let size = std::mem::size_of_val(&tag.0[..]);
    if size < MAX_TAG_SIZE {
        Ok(())
    } else {
        Err(ValidationOutcome::TagTooLarge(size, MAX_TAG_SIZE).into())
    }
}
/// Check the link tag size is under the MAX_TAG_SIZE
Check the link tag size is under the MAX_TAG_SIZE
Check the link tag size is under the MAX_TAG_SIZE
pub fn check_tag_size(tag: &LinkTag) -> SysValidationResult<()> {
    let size = std::mem::size_of_val(&tag.0[..]);
    if size < MAX_TAG_SIZE {
        Ok(())
    } else {
        Err(ValidationOutcome::TagTooLarge(size, MAX_TAG_SIZE).into())
    }
}
pub fn check_tag_size ( tag : & LinkTag ) -> SysValidationResult < ( ) > { let size = std :: mem :: size_of_val ( & tag . 0 [ .. ] ) ; if size < MAX_TAG_SIZE { Ok ( ( ) ) } else { Err ( ValidationOutcome :: TagTooLarge ( size , MAX_TAG_SIZE ) . into ( ) ) } }
Check the link tag size is under the MAX_TAG_SIZE
Check the link tag size is under the MAX_TAG_SIZE
tag
&LinkTag
tag
&LinkTag