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> Decode<'de, Binary> for SocketAddrV4
impl<'de> Decode<'de, Binary> for SocketAddrV4
Source§impl<'de> Decode<'de, Binary> for SocketAddrV6
impl<'de> Decode<'de, Binary> for SocketAddrV6
Source§impl Encode<Binary> for SocketAddrV4
impl Encode<Binary> for SocketAddrV4
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