Struct transmog_pot::Pot
source · pub struct Pot(_);
Expand description
Pot implementor of [Format
].
Trait Implementations§
source§impl<'a, T> BorrowedDeserializer<'a, T> for Potwhere
T: Serialize + Deserialize<'a>,
impl<'a, T> BorrowedDeserializer<'a, T> for Potwhere T: Serialize + Deserialize<'a>,
source§fn deserialize_borrowed(&self, data: &'a [u8]) -> Result<T, Self::Error>
fn deserialize_borrowed(&self, data: &'a [u8]) -> Result<T, Self::Error>
Deserialize
T
from data
, borrowing when possible.source§impl<'a, T> Format<'a, T> for Potwhere
T: Serialize,
impl<'a, T> Format<'a, T> for Potwhere T: Serialize,
source§impl<T> OwnedDeserializer<T> for Potwhere
T: Serialize + DeserializeOwned,
impl<T> OwnedDeserializer<T> for Potwhere T: Serialize + DeserializeOwned,
source§fn deserialize_owned(&self, data: &[u8]) -> Result<T, Self::Error>
fn deserialize_owned(&self, data: &[u8]) -> Result<T, Self::Error>
Deserialize
T
from data
.source§fn deserialize_from<R: Read>(&self, reader: R) -> Result<T, Self::Error>
fn deserialize_from<R: Read>(&self, reader: R) -> Result<T, Self::Error>
Deserialize
T
from reader
.Auto Trait Implementations§
impl RefUnwindSafe for Pot
impl Send for Pot
impl Sync for Pot
impl Unpin for Pot
impl UnwindSafe for Pot
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more