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,
Available on crate feature std only.
impl<'de, A> Decode<'de, Text, A> for Ipv4Addrwhere
A: Allocator,
Available on crate feature
std only.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,
Available on crate feature std only.
impl<'de, A> Decode<'de, Text, A> for Ipv6Addrwhere
A: Allocator,
Available on crate feature
std only.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,
Available on crate feature std only.
impl<'de, A> Decode<'de, Text, A> for SocketAddrV4where
A: Allocator,
Available on crate feature
std only.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,
Available on crate feature std only.
impl<'de, A> Decode<'de, Text, A> for SocketAddrV6where
A: Allocator,
Available on crate feature
std only.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
Available on crate feature std only.
impl Encode<Text> for Ipv4Addr
Available on crate feature
std only.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
Available on crate feature std only.
impl Encode<Text> for Ipv6Addr
Available on crate feature
std only.Source§impl Encode<Text> for SocketAddrV4
Available on crate feature std only.
impl Encode<Text> for SocketAddrV4
Available on crate feature
std only.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
Available on crate feature std only.
impl Encode<Text> for SocketAddrV6
Available on crate feature
std only.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 UnsafeUnpin 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