Struct aws_smithy_types::primitive::Encoder
source · #[non_exhaustive]pub struct Encoder(/* private fields */);
Expand description
Primitive Type Encoder
Encodes primitive types in Smithy’s specified format. For floating-point numbers, Smithy requires that NaN and Infinity values be specially encoded.
This type implements From<T>
for all Smithy primitive types.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Encoder
impl RefUnwindSafe for Encoder
impl Send for Encoder
impl Sync for Encoder
impl Unpin for Encoder
impl UnwindSafe for Encoder
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