pub enum Binary {}Expand description
The binary encoding mode.
The key of fields and variants are encoded by their index, as if
#[musli(name(type = usize))] was specified.
See modes for more.
Trait Implementations§
Source§impl<'de, A> Decode<'de, Binary, A> for Ipv4Addrwhere
A: Allocator,
impl<'de, A> Decode<'de, Binary, 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, Binary, A> for Ipv6Addrwhere
A: Allocator,
impl<'de, A> Decode<'de, Binary, 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, Binary, A> for SocketAddrV4where
A: Allocator,
impl<'de, A> Decode<'de, Binary, 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, Binary, A> for SocketAddrV6where
A: Allocator,
impl<'de, A> Decode<'de, Binary, 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<Binary> for Ipv4Addr
impl Encode<Binary> 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<Binary> for Ipv6Addr
impl Encode<Binary> for Ipv6Addr
Source§impl Encode<Binary> for SocketAddrV4
impl Encode<Binary> 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<Binary> for SocketAddrV6
impl Encode<Binary> 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 Binary
impl RefUnwindSafe for Binary
impl Send for Binary
impl Sync for Binary
impl Unpin for Binary
impl UnwindSafe for Binary
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