aya_log_common

Trait WriteToBuf

source
pub trait WriteToBuf {
    // Required method
    fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>;
}

Required Methods§

source

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

Implementations on Foreign Types§

source§

impl WriteToBuf for &str

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for &[u8]

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for IpAddr

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for f32

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for f64

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for i8

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for i16

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for i32

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for i64

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for isize

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for u8

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for u16

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for u32

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for u64

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for usize

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for Ipv4Addr

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for Ipv6Addr

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for [u8; 4]

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for [u8; 6]

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for [u8; 16]

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

source§

impl WriteToBuf for [u16; 8]

source§

fn write(self, buf: &mut [u8]) -> Option<NonZeroUsize>

Implementors§