Make codec shape authority compile-time and fixed
This commit is contained in:
parent
bfe21dfb3f
commit
54cc167f81
1 changed files with 322 additions and 52 deletions
|
|
@ -169,7 +169,7 @@ impl Drop for CancellationSignals {
|
|||
|
||||
fn read_record<T>(path: &std::path::Path) -> Result<T, Box<dyn std::error::Error>>
|
||||
where
|
||||
T: serde::de::DeserializeOwned + serde::Serialize,
|
||||
T: lazaret_core::records::SchemaType + serde::de::DeserializeOwned + serde::Serialize,
|
||||
{
|
||||
let mut file = std::fs::File::from(rustix::fs::openat(
|
||||
rustix::fs::CWD,
|
||||
|
|
|
|||
Loading…
Reference in a new issue