ariel_os::debug::log::defmt

Trait Format

pub trait Format {
    // Required method
    fn format(&self, fmt: Formatter<'_>);
}
Available on crate feature defmt only.
Expand description

Trait for types that can be formatted via defmt.

This trait is used by the {:?} format specifier and can format a wide range of types. User-defined types can #[derive(Format)] to get an auto-generated implementation of this trait.

Note: The implementation of #[derive(Format)] assumes that no builtin types are shadowed (for example by defining a struct u8;). This allows it to represent them more compactly.

§Example

Usually, an implementation of this trait can be #[derive]d automatically:

use defmt::Format;

#[derive(Format)]
struct Header {
    source: u8,
    destination: u8,
    sequence: u16,
}

Manual implementations can make use of the write! macro:

use defmt::{Format, Formatter, write};

struct Id(u32);

impl Format for Id {
    fn format(&self, fmt: Formatter) {
        // Format as hexadecimal.
        write!(fmt, "Id({:x})", self.0);
    }
}

Note Some implementations of standard types like Vec<T> are hidden behind the alloc feature flag.

Required Methods§

fn format(&self, fmt: Formatter<'_>)

Writes the defmt representation of self to fmt.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Format for UnionScope

Source§

fn format(&self, f: Formatter<'_>)

§

impl Format for Infallible

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for IpAddr

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for SocketAddr

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for bool

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for char

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for f32

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for f64

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for i8

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for i16

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for i32

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for i64

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for i128

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for isize

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for str

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for u8

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for u16

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for u32

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for u64

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for u128

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for ()

§

fn format(&self, _fmt: Formatter<'_>)

§

impl Format for usize

§

fn format(&self, _fmt: Formatter<'_>)

Source§

impl Format for AifValue
where [u8; 64]: Format,

Source§

fn format(&self, f: Formatter<'_>)

Source§

impl Format for AllowAll

Source§

fn format(&self, f: Formatter<'_>)

Source§

impl Format for DenyAll

Source§

fn format(&self, f: Formatter<'_>)

§

impl Format for Layout

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for TryFromSliceError

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for BorrowError

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for BorrowMutError

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for AddrParseError

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for SocketAddrV4

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for SocketAddrV6

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for TryFromIntError

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<i8>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<i16>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<i32>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<i64>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<i128>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<isize>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<u8>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<u16>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<u32>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<u64>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<u128>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for NonZero<usize>

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for RangeFull

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for Location<'_>

§

fn format(&self, f: Formatter<'_>)

§

impl Format for PanicInfo<'_>

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Duration

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for Assembler

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for BindError

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Checksum

§

fn format(&self, f: Formatter<'_>)

§

impl Format for ChecksumCapabilities
where Checksum: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for CongestionControl

§

fn format(&self, f: Formatter<'_>)

§

impl Format for ConnectError

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Control

§

fn format(&self, f: Formatter<'_>)

§

impl Format for DeviceCapabilities
where Medium: Format, Option<usize>: Format, ChecksumCapabilities: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for DstUnreachable
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for DstUnreachable
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Duration

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Empty

§

fn format(&self, f: Formatter<'_>)

§

impl Format for EndpointAddress

§

fn format(&self, f: Formatter<'_>)

§

impl Format for EndpointType
where IsochronousSynchronizationType: Format, IsochronousUsageType: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Error

§

fn format(&self, f: Formatter<'_>)

§

impl Format for EtherType
where u16: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for FailureType

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Flags
where u16: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Full

§

fn format(&self, f: Formatter<'_>)

§

impl Format for GetQueryResultError

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Hardware
where u16: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for IgmpVersion

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Instant

§

fn format(&self, f: Formatter<'_>)

§

impl Format for InterfaceNumber

§

fn format(&self, f: Formatter<'_>)

§

impl Format for IsochronousSynchronizationType

§

fn format(&self, f: Formatter<'_>)

§

impl Format for IsochronousUsageType

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Key
where Ipv4Addr: Format, Protocol: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for LangID

§

fn format(&self, f: Formatter<'_>)

§

impl Format for ListenError

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Medium

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Message
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Message
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for MessageType
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for NeighborFlags
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for OpCode
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Opcode
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Operation
where u16: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for PacketMeta

§

fn format(&self, f: Formatter<'_>)

§

impl Format for ParamProblem
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for ParamProblem
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for PcapLinkType
where u32: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for PcapMode

§

fn format(&self, f: Formatter<'_>)

§

impl Format for PollIngressSingleResult

§

fn format(&self, f: Formatter<'_>)

§

impl Format for PollResult

§

fn format(&self, f: Formatter<'_>)

§

impl Format for PrefixInfoFlags
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for PrefixInformation
where PrefixInfoFlags: Format, Duration: Format, Ipv6Addr: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for PrettyIndent

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Protocol
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for RawHardwareAddress
where [u8; 6]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Rcode
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Recipient

§

fn format(&self, f: Formatter<'_>)

§

impl Format for RecordType
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for RecvError

§

fn format(&self, f: Formatter<'_>)

§

impl Format for RecvError

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Redirect
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Repr

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for Repr

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Repr

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for Repr
where Address: Format, EtherType: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Repr
where Ipv4Addr: Format, Protocol: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Repr
where Duration: Format, Ipv4Addr: Format, IgmpVersion: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Repr
where Operation: Format, Address: Format, Ipv4Addr: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Repr
where Repr: Format, Repr: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Request
where UsbDirection: Format, RequestType: Format, Recipient: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for RequestType

§

fn format(&self, f: Formatter<'_>)

§

impl Format for RetryConfig
where Duration: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Route
where Cidr: Format, Address: Format, Option<Instant>: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for RouteTableFull

§

fn format(&self, f: Formatter<'_>)

§

impl Format for RouterAlert
where u16: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for RouterFlags
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for SendError

§

fn format(&self, f: Formatter<'_>)

§

impl Format for SendError

§

fn format(&self, f: Formatter<'_>)

§

impl Format for SeqNumber

§

fn format(&self, fmt: Formatter<'_>)

§

impl Format for ServerInfo

§

fn format(&self, f: Formatter<'_>)

§

impl Format for SocketHandle

§

fn format(&self, f: Formatter<'_>)

§

impl Format for StartQueryError

§

fn format(&self, f: Formatter<'_>)

§

impl Format for StringIndex

§

fn format(&self, f: Formatter<'_>)

§

impl Format for TimeExceeded
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for TimeExceeded
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Type
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Type
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Type
where u8: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl Format for UnsupportedDriveStrength

§

fn format(&self, f: Formatter<'_>)

§

impl Format for UnsupportedSpeed

§

fn format(&self, f: Formatter<'_>)

§

impl Format for UsbDeviceState

§

fn format(&self, f: Formatter<'_>)

§

impl Format for UsbDirection

§

fn format(&self, f: Formatter<'_>)

§

impl Format for Version

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for AddressRecordRepr<'a>
where RecordType: Format, Ipv6Addr: Format, &'a [u8]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Config<'a>
where ServerInfo: Format, Cidr: Format, Option<Ipv4Addr>: Format, Vec<Ipv4Addr, smoltcp::::socket::dhcpv4::{impl#7}::{constant#0}>: Format, Option<Packet<&'a [u8]>>: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for DhcpOption<'a>
where &'a [u8]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for DhcpOptionWriter<'a>
where &'a mut [u8]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Event<'a>
where Config<'a>: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Ipv6OptionsIterator<'a>
where &'a [u8]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Question<'a>
where &'a [u8]: Format, Type: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Record<'a>
where &'a [u8]: Format, RecordData<'a>: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for RecordData<'a>

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for RedirectedHeader<'a>
where Repr: Format, &'a [u8]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>

§

fn format(&self, fmt: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where &'a [u8]: Format, DstUnreachable: Format, Repr: Format, TimeExceeded: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where Option<RawHardwareAddress>: Format, RouterFlags: Format, Duration: Format, Option<u32>: Format, Option<PrefixInformation>: Format, Ipv6Addr: Format, NeighborFlags: Format, Option<RedirectedHeader<'a>>: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where Ipv6Addr: Format, &'a [u8]: Format, &'a [AddressRecordRepr<'a>]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where Ipv6Addr: Format, &'a [u8]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where DstUnreachable: Format, Repr: Format, &'a [u8]: Format, TimeExceeded: Format, ParamProblem: Format, Repr<'a>: Format, Repr<'a>: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where MessageType: Format, Address: Format, Ipv4Addr: Format, Option<Ipv4Addr>: Format, Option<Address>: Format, Option<&'a [u8]>: Format, Option<Vec<Ipv4Addr, smoltcp::::wire::dhcpv4::{impl#76}::{constant#0}>>: Format, Option<u16>: Format, Option<u32>: Format, &'a [DhcpOption<'a>]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where Opcode: Format, Flags: Format, Question<'a>: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where Protocol: Format, &'a [u8]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where RawHardwareAddress: Format, PrefixInformation: Format, RedirectedHeader<'a>: Format, &'a [u8]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where Repr<'a>: Format, Repr<'a>: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where RouterAlert: Format, Type: Format, &'a [u8]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for Repr<'a>
where Vec<Repr<'a>, smoltcp::::wire::ipv6hbh::{impl#9}::{constant#0}>: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a> Format for TcpOption<'a>
where [Option<(u32, u32)>; 3]: Format, &'a [u8]: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<'a, T> Format for ChunksExact<'a, T>
where T: 'a + Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<'a, T> Format for Iter<'a, T>
where T: 'a + Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<'a, T> Format for Windows<'a, T>
where T: 'a + Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<'a, T> Format for Packet<&'a T>
where T: AsRef<[u8]> + ?Sized,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<A, B> Format for Zip<A, B>
where A: Format, B: Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<H> Format for PacketMetadata<H>
where Option<H>: Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<Idx> Format for Range<Idx>
where Idx: Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Idx> Format for RangeFrom<Idx>
where Idx: Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Idx> Format for RangeInclusive<Idx>
where Idx: Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Idx> Format for RangeTo<Idx>
where Idx: Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Idx> Format for RangeToInclusive<Idx>
where Idx: Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret> Format for fn() -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret> Format for extern "C" fn() -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret> Format for unsafe fn() -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret> Format for unsafe extern "C" fn() -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A> Format for fn(_: A) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A> Format for extern "C" fn(_: A) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A> Format for unsafe fn(_: A) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A> Format for unsafe extern "C" fn(_: A) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B> Format for fn(_: A, _: B) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B> Format for extern "C" fn(_: A, _: B) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B> Format for unsafe fn(_: A, _: B) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B> Format for unsafe extern "C" fn(_: A, _: B) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C> Format for fn(_: A, _: B, _: C) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C> Format for extern "C" fn(_: A, _: B, _: C) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C> Format for unsafe fn(_: A, _: B, _: C) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C> Format for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D> Format for fn(_: A, _: B, _: C, _: D) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D> Format for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D> Format for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D> Format for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E> Format for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E> Format for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E> Format for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E> Format for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F> Format for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F> Format for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F> Format for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F> Format for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G> Format for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G> Format for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G> Format for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G> Format for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H> Format for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H> Format for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H> Format for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H> Format for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I> Format for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I> Format for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I> Format for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I> Format for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J> Format for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J> Format for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J> Format for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J> Format for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Format for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Format for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Format for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Format for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Format for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Format for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Format for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Format for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

§

fn format(&self, fmt: Formatter<'_>)

§

impl<T0> Format for (T0,)
where T0: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1> Format for (T0, T1)
where T0: Format, T1: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1, T2> Format for (T0, T1, T2)
where T0: Format, T1: Format, T2: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1, T2, T3> Format for (T0, T1, T2, T3)
where T0: Format, T1: Format, T2: Format, T3: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1, T2, T3, T4> Format for (T0, T1, T2, T3, T4)
where T0: Format, T1: Format, T2: Format, T3: Format, T4: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1, T2, T3, T4, T5> Format for (T0, T1, T2, T3, T4, T5)
where T0: Format, T1: Format, T2: Format, T3: Format, T4: Format, T5: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1, T2, T3, T4, T5, T6> Format for (T0, T1, T2, T3, T4, T5, T6)
where T0: Format, T1: Format, T2: Format, T3: Format, T4: Format, T5: Format, T6: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1, T2, T3, T4, T5, T6, T7> Format for (T0, T1, T2, T3, T4, T5, T6, T7)
where T0: Format, T1: Format, T2: Format, T3: Format, T4: Format, T5: Format, T6: Format, T7: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> Format for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
where T0: Format, T1: Format, T2: Format, T3: Format, T4: Format, T5: Format, T6: Format, T7: Format, T8: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Format for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T0: Format, T1: Format, T2: Format, T3: Format, T4: Format, T5: Format, T6: Format, T7: Format, T8: Format, T9: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Format for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T0: Format, T1: Format, T2: Format, T3: Format, T4: Format, T5: Format, T6: Format, T7: Format, T8: Format, T9: Format, T10: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Format for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T0: Format, T1: Format, T2: Format, T3: Format, T4: Format, T5: Format, T6: Format, T7: Format, T8: Format, T9: Format, T10: Format, T11: Format + ?Sized,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T> Format for Option<T>
where T: Format,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T> Format for *const T
where T: ?Sized,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<T> Format for *mut T
where T: ?Sized,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<T> Format for &T
where T: Format + ?Sized,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<T> Format for &mut T
where T: Format + ?Sized,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<T> Format for [T]
where T: Format,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T> Format for Cell<T>
where T: Format + Copy,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<T> Format for RefCell<T>
where T: Format,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T> Format for PhantomData<T>

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T> Format for NonNull<T>

§

fn format(&self, fmt: Formatter<'_>)

§

impl<T> Format for AddressRecord<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Debug2Format<'_, T>
where T: Debug + ?Sized,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Display2Format<'_, T>
where T: Display + ?Sized,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Frame<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Header<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Header<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Header<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Ipv6Option<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for NdiscOption<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Packet<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Packet<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Packet<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Packet<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Packet<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Packet<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Packet<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T> Format for Packet<T>
where T: AsRef<[u8]> + Format,

§

fn format(&self, f: Formatter<'_>)

§

impl<T, E> Format for Result<T, E>
where T: Format, E: Format,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T, const N: usize> Format for [T; N]
where T: Format,

§

fn format(&self, _fmt: Formatter<'_>)

§

impl<T, const N: usize> Format for Vec<T, N>
where T: Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<const N: usize> Format for String<N>
where u8: Format,

§

fn format(&self, fmt: Formatter<'_>)

§

impl<const NOM: u32, const DENOM: u32> Format for Duration<u32, NOM, DENOM>

§

fn format(&self, f: Formatter<'_>)

§

impl<const NOM: u32, const DENOM: u32> Format for Duration<u64, NOM, DENOM>

§

fn format(&self, f: Formatter<'_>)

§

impl<const NOM: u32, const DENOM: u32> Format for Instant<u32, NOM, DENOM>

§

fn format(&self, f: Formatter<'_>)

§

impl<const NOM: u32, const DENOM: u32> Format for Instant<u64, NOM, DENOM>

§

fn format(&self, f: Formatter<'_>)

§

impl<const NOM: u32, const DENOM: u32> Format for Rate<u32, NOM, DENOM>

§

fn format(&self, f: Formatter<'_>)

§

impl<const NOM: u32, const DENOM: u32> Format for Rate<u64, NOM, DENOM>

§

fn format(&self, f: Formatter<'_>)

Implementors§

§

impl Format for ariel_os::bench::Error

§

impl Format for Level

§

impl Format for Pull

§

impl Format for ariel_os::gpio::input::Error

§

impl Format for InterruptError

§

impl Format for Frequency

§

impl Format for ariel_os::reexports::embassy_net::dns::DnsQueryType
where u16: Format,

§

impl Format for ariel_os::reexports::embassy_net::dns::Error

§

impl Format for ariel_os::reexports::embassy_net::driver::Checksum

§

impl Format for ariel_os::reexports::embassy_net::driver::HardwareAddress
where [u8; 6]: Format, [u8; 8]: Format,

§

impl Format for LinkState

§

impl Format for ariel_os::reexports::embassy_net::HardwareAddress
where Address: Format,

§

impl Format for ariel_os::reexports::embassy_net::IpAddress

§

impl Format for ariel_os::reexports::embassy_net::IpCidr

§

impl Format for AcceptError

§

impl Format for ariel_os::reexports::embassy_net::tcp::ConnectError

§

impl Format for ariel_os::reexports::embassy_net::tcp::Error

§

impl Format for State

§

impl Format for ariel_os::reexports::embassy_net::udp::BindError

§

impl Format for ariel_os::reexports::embassy_net::udp::RecvError

§

impl Format for ariel_os::reexports::embassy_net::udp::SendError

§

impl Format for ParityType

§

impl Format for StopBits

§

impl Format for ReadError
where Range<usize>: Format,

§

impl Format for ReportId

§

impl Format for Channel

§

impl Format for Volume

§

impl Format for OutResponse

§

impl Format for ariel_os::reexports::embassy_usb::control::Recipient

§

impl Format for ariel_os::reexports::embassy_usb::control::RequestType

§

impl Format for SynchronizationType

§

impl Format for UsageType

§

impl Format for Direction

§

impl Format for EndpointError

§

impl Format for ariel_os::reexports::embassy_usb::driver::EndpointType

§

impl Format for ariel_os::reexports::embassy_usb::driver::Event

§

impl Format for RemoteWakeupError

§

impl Format for ariel_os::reexports::embassy_usb::UsbDeviceState

§

impl Format for UsbVersion

§

impl Format for KeyboardUsage

§

impl Format for MediaKey

§

impl Format for SystemControlKey

§

impl Format for UsbError

§

impl Format for HidCountryCode

§

impl Format for HidProtocol

§

impl Format for HidProtocolMode

§

impl Format for HidSubClass

§

impl Format for ProtocolModeConfig

§

impl Format for ReportType

§

impl Format for WaitMode
where u16: Format,

§

impl Format for Eui48

§

impl Format for Capabilities

§

impl Format for ariel_os::reexports::embassy_net::driver::ChecksumCapabilities

§

impl Format for ariel_os::reexports::embassy_net::EthernetAddress

§

impl Format for Endpoint

§

impl Format for ListenEndpoint

§

impl Format for Ipv4Addr

§

impl Format for ariel_os::reexports::embassy_net::Ipv4Cidr

§

impl Format for Ipv6Addr

§

impl Format for ariel_os::reexports::embassy_net::Ipv6Cidr

§

impl Format for UdpMetadata
where Endpoint: Format, Option<Address>: Format, PacketMeta: Format,

§

impl Format for TimeoutError

§

impl Format for LineCoding

§

impl Format for AudioSettings
where [bool; 13]: Format, [i16; 13]: Format,

§

impl Format for ariel_os::reexports::embassy_usb::control::Request

§

impl Format for ariel_os::reexports::embassy_usb::driver::EndpointAddress

§

impl Format for EndpointAllocError

§

impl Format for EndpointInfo

§

impl Format for Unsupported

§

impl Format for UsbBufferReport

§

impl Format for ariel_os::reexports::embassy_usb::types::InterfaceNumber

§

impl Format for ariel_os::reexports::embassy_usb::types::StringIndex

§

impl Format for HidClassSettings

§

impl Format for ReportInfo

§

impl Format for CoreAffinity

§

impl Format for CoreId

§

impl Format for RunqueueId

§

impl Format for ThreadId

§

impl Format for ariel_os::time::Duration

§

impl Format for ariel_os::time::Instant

§

impl Format for Str

§

impl<'a> Format for InResponse<'a>
where &'a [u8]: Format,

§

impl<'a> Format for PropertyData<'a>
where &'a [u8]: Format, &'a [&'a str]: Format,

§

impl<'a> Format for ariel_os::reexports::embassy_usb::Config<'a>

§

impl<A> Format for DriveStrength<A>
where A: Format,

§

impl<A> Format for Speed<A>
where A: Format,

§

impl<T> Format for ariel_os::debug::log::defmt::Debug2Format<'_, T>
where T: Debug + ?Sized,

§

impl<T> Format for ariel_os::debug::log::defmt::Display2Format<'_, T>
where T: Display + ?Sized,