feat(os): add plugin (#346)

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
This commit is contained in:
Lucas Fernandes NogueiraandFabian-Lars authored and GitHub committed 2023-05-08 13:39:54 -03:00
1 parent bcb42b7343
commit 61e7d6ede5
19 files changed
+809 -154

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
use serde::{Serialize, Serializer};
#[derive(Debug, thiserror::Error)]
pub enum Error {}
impl Serialize for Error {
fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
where
S: Serializer,
{
serializer.serialize_str(self.to_string().as_ref())
}
}