Skip to content

Commit

Permalink
implement deserialize_reader
Browse files Browse the repository at this point in the history
  • Loading branch information
Natarajan Arvind Krishnan committed Dec 17, 2023
1 parent f6d8c44 commit 5143930
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions programs/gfx-ssl-v2/src/state/pair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@ impl Default for Space124 {
}
}

impl Space124 {
pub fn deserialize_reader<R>(_: &mut R) -> std::result::Result<Self, std::io::Error> where R: std::io::Read {
Ok(Space124::default())
}
}

impl Serialize for Space124 {
fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
where
Expand Down

0 comments on commit 5143930

Please sign in to comment.