muffy 0.3.18

The static website validator
Documentation
1
2
3
4
5
6
use super::CacheError;
use serde::Serialize;

pub(super) fn placeholder<T: Serialize>() -> Result<Vec<u8>, CacheError> {
    Ok(bitcode::serialize(&None::<T>)?)
}