pub enum Text {}Expand description
The text encoding mode.
The key of fields and variants are encoded by their name, as if
#[musli(name(type = str))] was specified.
See modes for more.
Trait Implementations§
Source§impl<'de, A> Decode<'de, Text, A> for Ipv4Addrwhere
A: Allocator,
impl<'de, A> Decode<'de, Text, A> for Ipv4Addrwhere
A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de, A> Decode<'de, Text, A> for Ipv6Addrwhere
A: Allocator,
impl<'de, A> Decode<'de, Text, A> for Ipv6Addrwhere
A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de, A> Decode<'de, Text, A> for SocketAddrV4where
A: Allocator,
impl<'de, A> Decode<'de, Text, A> for SocketAddrV4where
A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de, A> Decode<'de, Text, A> for SocketAddrV6where
A: Allocator,
impl<'de, A> Decode<'de, Text, A> for SocketAddrV6where
A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl Encode<Text> for Ipv4Addr
impl Encode<Text> for Ipv4Addr
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl Encode<Text> for Ipv6Addr
impl Encode<Text> for Ipv6Addr
Source§impl Encode<Text> for SocketAddrV4
impl Encode<Text> for SocketAddrV4
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = SocketAddrV4
type Encode = SocketAddrV4
The underlying type being encoded. Read more
Source§impl Encode<Text> for SocketAddrV6
impl Encode<Text> for SocketAddrV6
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = SocketAddrV6
type Encode = SocketAddrV6
The underlying type being encoded. Read more
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
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