aya-log-common.txt 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. pub mod aya_log_common
  2. #[repr(u8)] pub enum aya_log_common::Argument
  3. pub aya_log_common::Argument::ArrU16Len8
  4. pub aya_log_common::Argument::ArrU8Len16
  5. pub aya_log_common::Argument::ArrU8Len4
  6. pub aya_log_common::Argument::ArrU8Len6
  7. pub aya_log_common::Argument::Bytes
  8. pub aya_log_common::Argument::DisplayHint
  9. pub aya_log_common::Argument::F32
  10. pub aya_log_common::Argument::F64
  11. pub aya_log_common::Argument::I16
  12. pub aya_log_common::Argument::I32
  13. pub aya_log_common::Argument::I64
  14. pub aya_log_common::Argument::I8
  15. pub aya_log_common::Argument::Ipv4Addr
  16. pub aya_log_common::Argument::Ipv6Addr
  17. pub aya_log_common::Argument::Isize
  18. pub aya_log_common::Argument::Str
  19. pub aya_log_common::Argument::U16
  20. pub aya_log_common::Argument::U32
  21. pub aya_log_common::Argument::U64
  22. pub aya_log_common::Argument::U8
  23. pub aya_log_common::Argument::Usize
  24. impl core::clone::Clone for aya_log_common::Argument
  25. pub fn aya_log_common::Argument::clone(&self) -> aya_log_common::Argument
  26. impl core::convert::From<aya_log_common::Argument> for u8
  27. pub fn u8::from(enum_value: aya_log_common::Argument) -> Self
  28. impl core::fmt::Debug for aya_log_common::Argument
  29. pub fn aya_log_common::Argument::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
  30. impl core::marker::Copy for aya_log_common::Argument
  31. impl core::marker::Freeze for aya_log_common::Argument
  32. impl core::marker::Send for aya_log_common::Argument
  33. impl core::marker::Sync for aya_log_common::Argument
  34. impl core::marker::Unpin for aya_log_common::Argument
  35. impl core::panic::unwind_safe::RefUnwindSafe for aya_log_common::Argument
  36. impl core::panic::unwind_safe::UnwindSafe for aya_log_common::Argument
  37. impl<T, U> core::convert::Into<U> for aya_log_common::Argument where U: core::convert::From<T>
  38. pub fn aya_log_common::Argument::into(self) -> U
  39. impl<T, U> core::convert::TryFrom<U> for aya_log_common::Argument where U: core::convert::Into<T>
  40. pub type aya_log_common::Argument::Error = core::convert::Infallible
  41. pub fn aya_log_common::Argument::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  42. impl<T, U> core::convert::TryInto<U> for aya_log_common::Argument where U: core::convert::TryFrom<T>
  43. pub type aya_log_common::Argument::Error = <U as core::convert::TryFrom<T>>::Error
  44. pub fn aya_log_common::Argument::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  45. impl<T> core::any::Any for aya_log_common::Argument where T: 'static + core::marker::Sized
  46. pub fn aya_log_common::Argument::type_id(&self) -> core::any::TypeId
  47. impl<T> core::borrow::Borrow<T> for aya_log_common::Argument where T: core::marker::Sized
  48. pub fn aya_log_common::Argument::borrow(&self) -> &T
  49. impl<T> core::borrow::BorrowMut<T> for aya_log_common::Argument where T: core::marker::Sized
  50. pub fn aya_log_common::Argument::borrow_mut(&mut self) -> &mut T
  51. impl<T> core::clone::CloneToUninit for aya_log_common::Argument where T: core::clone::Clone
  52. pub unsafe fn aya_log_common::Argument::clone_to_uninit(&self, dst: *mut T)
  53. impl<T> core::convert::From<T> for aya_log_common::Argument
  54. pub fn aya_log_common::Argument::from(t: T) -> T
  55. #[repr(u8)] pub enum aya_log_common::DisplayHint
  56. pub aya_log_common::DisplayHint::Default = 1
  57. pub aya_log_common::DisplayHint::Ip
  58. pub aya_log_common::DisplayHint::LowerHex
  59. pub aya_log_common::DisplayHint::LowerMac
  60. pub aya_log_common::DisplayHint::UpperHex
  61. pub aya_log_common::DisplayHint::UpperMac
  62. impl aya_log_common::WriteToBuf for aya_log_common::DisplayHint
  63. pub fn aya_log_common::DisplayHint::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  64. impl core::clone::Clone for aya_log_common::DisplayHint
  65. pub fn aya_log_common::DisplayHint::clone(&self) -> aya_log_common::DisplayHint
  66. impl core::cmp::Eq for aya_log_common::DisplayHint
  67. impl core::cmp::PartialEq for aya_log_common::DisplayHint
  68. pub fn aya_log_common::DisplayHint::eq(&self, other: &aya_log_common::DisplayHint) -> bool
  69. impl core::convert::From<aya_log_common::DisplayHint> for u8
  70. pub fn u8::from(enum_value: aya_log_common::DisplayHint) -> Self
  71. impl core::fmt::Debug for aya_log_common::DisplayHint
  72. pub fn aya_log_common::DisplayHint::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
  73. impl core::marker::Copy for aya_log_common::DisplayHint
  74. impl core::marker::StructuralPartialEq for aya_log_common::DisplayHint
  75. impl core::marker::Freeze for aya_log_common::DisplayHint
  76. impl core::marker::Send for aya_log_common::DisplayHint
  77. impl core::marker::Sync for aya_log_common::DisplayHint
  78. impl core::marker::Unpin for aya_log_common::DisplayHint
  79. impl core::panic::unwind_safe::RefUnwindSafe for aya_log_common::DisplayHint
  80. impl core::panic::unwind_safe::UnwindSafe for aya_log_common::DisplayHint
  81. impl<T, U> core::convert::Into<U> for aya_log_common::DisplayHint where U: core::convert::From<T>
  82. pub fn aya_log_common::DisplayHint::into(self) -> U
  83. impl<T, U> core::convert::TryFrom<U> for aya_log_common::DisplayHint where U: core::convert::Into<T>
  84. pub type aya_log_common::DisplayHint::Error = core::convert::Infallible
  85. pub fn aya_log_common::DisplayHint::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  86. impl<T, U> core::convert::TryInto<U> for aya_log_common::DisplayHint where U: core::convert::TryFrom<T>
  87. pub type aya_log_common::DisplayHint::Error = <U as core::convert::TryFrom<T>>::Error
  88. pub fn aya_log_common::DisplayHint::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  89. impl<T> core::any::Any for aya_log_common::DisplayHint where T: 'static + core::marker::Sized
  90. pub fn aya_log_common::DisplayHint::type_id(&self) -> core::any::TypeId
  91. impl<T> core::borrow::Borrow<T> for aya_log_common::DisplayHint where T: core::marker::Sized
  92. pub fn aya_log_common::DisplayHint::borrow(&self) -> &T
  93. impl<T> core::borrow::BorrowMut<T> for aya_log_common::DisplayHint where T: core::marker::Sized
  94. pub fn aya_log_common::DisplayHint::borrow_mut(&mut self) -> &mut T
  95. impl<T> core::clone::CloneToUninit for aya_log_common::DisplayHint where T: core::clone::Clone
  96. pub unsafe fn aya_log_common::DisplayHint::clone_to_uninit(&self, dst: *mut T)
  97. impl<T> core::convert::From<T> for aya_log_common::DisplayHint
  98. pub fn aya_log_common::DisplayHint::from(t: T) -> T
  99. #[repr(u8)] pub enum aya_log_common::Level
  100. pub aya_log_common::Level::Debug
  101. pub aya_log_common::Level::Error = 1
  102. pub aya_log_common::Level::Info
  103. pub aya_log_common::Level::Trace
  104. pub aya_log_common::Level::Warn
  105. impl core::clone::Clone for aya_log_common::Level
  106. pub fn aya_log_common::Level::clone(&self) -> aya_log_common::Level
  107. impl core::cmp::Eq for aya_log_common::Level
  108. impl core::cmp::PartialEq for aya_log_common::Level
  109. pub fn aya_log_common::Level::eq(&self, other: &aya_log_common::Level) -> bool
  110. impl core::convert::From<aya_log_common::Level> for u8
  111. pub fn u8::from(enum_value: aya_log_common::Level) -> Self
  112. impl core::fmt::Debug for aya_log_common::Level
  113. pub fn aya_log_common::Level::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
  114. impl core::hash::Hash for aya_log_common::Level
  115. pub fn aya_log_common::Level::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
  116. impl core::marker::Copy for aya_log_common::Level
  117. impl core::marker::StructuralPartialEq for aya_log_common::Level
  118. impl core::marker::Freeze for aya_log_common::Level
  119. impl core::marker::Send for aya_log_common::Level
  120. impl core::marker::Sync for aya_log_common::Level
  121. impl core::marker::Unpin for aya_log_common::Level
  122. impl core::panic::unwind_safe::RefUnwindSafe for aya_log_common::Level
  123. impl core::panic::unwind_safe::UnwindSafe for aya_log_common::Level
  124. impl<T, U> core::convert::Into<U> for aya_log_common::Level where U: core::convert::From<T>
  125. pub fn aya_log_common::Level::into(self) -> U
  126. impl<T, U> core::convert::TryFrom<U> for aya_log_common::Level where U: core::convert::Into<T>
  127. pub type aya_log_common::Level::Error = core::convert::Infallible
  128. pub fn aya_log_common::Level::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  129. impl<T, U> core::convert::TryInto<U> for aya_log_common::Level where U: core::convert::TryFrom<T>
  130. pub type aya_log_common::Level::Error = <U as core::convert::TryFrom<T>>::Error
  131. pub fn aya_log_common::Level::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  132. impl<T> core::any::Any for aya_log_common::Level where T: 'static + core::marker::Sized
  133. pub fn aya_log_common::Level::type_id(&self) -> core::any::TypeId
  134. impl<T> core::borrow::Borrow<T> for aya_log_common::Level where T: core::marker::Sized
  135. pub fn aya_log_common::Level::borrow(&self) -> &T
  136. impl<T> core::borrow::BorrowMut<T> for aya_log_common::Level where T: core::marker::Sized
  137. pub fn aya_log_common::Level::borrow_mut(&mut self) -> &mut T
  138. impl<T> core::clone::CloneToUninit for aya_log_common::Level where T: core::clone::Clone
  139. pub unsafe fn aya_log_common::Level::clone_to_uninit(&self, dst: *mut T)
  140. impl<T> core::convert::From<T> for aya_log_common::Level
  141. pub fn aya_log_common::Level::from(t: T) -> T
  142. #[repr(u8)] pub enum aya_log_common::RecordField
  143. pub aya_log_common::RecordField::File
  144. pub aya_log_common::RecordField::Level
  145. pub aya_log_common::RecordField::Line
  146. pub aya_log_common::RecordField::Module
  147. pub aya_log_common::RecordField::NumArgs
  148. pub aya_log_common::RecordField::Target = 1
  149. impl core::clone::Clone for aya_log_common::RecordField
  150. pub fn aya_log_common::RecordField::clone(&self) -> aya_log_common::RecordField
  151. impl core::convert::From<aya_log_common::RecordField> for u8
  152. pub fn u8::from(enum_value: aya_log_common::RecordField) -> Self
  153. impl core::fmt::Debug for aya_log_common::RecordField
  154. pub fn aya_log_common::RecordField::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
  155. impl core::marker::Copy for aya_log_common::RecordField
  156. impl core::marker::Freeze for aya_log_common::RecordField
  157. impl core::marker::Send for aya_log_common::RecordField
  158. impl core::marker::Sync for aya_log_common::RecordField
  159. impl core::marker::Unpin for aya_log_common::RecordField
  160. impl core::panic::unwind_safe::RefUnwindSafe for aya_log_common::RecordField
  161. impl core::panic::unwind_safe::UnwindSafe for aya_log_common::RecordField
  162. impl<T, U> core::convert::Into<U> for aya_log_common::RecordField where U: core::convert::From<T>
  163. pub fn aya_log_common::RecordField::into(self) -> U
  164. impl<T, U> core::convert::TryFrom<U> for aya_log_common::RecordField where U: core::convert::Into<T>
  165. pub type aya_log_common::RecordField::Error = core::convert::Infallible
  166. pub fn aya_log_common::RecordField::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  167. impl<T, U> core::convert::TryInto<U> for aya_log_common::RecordField where U: core::convert::TryFrom<T>
  168. pub type aya_log_common::RecordField::Error = <U as core::convert::TryFrom<T>>::Error
  169. pub fn aya_log_common::RecordField::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  170. impl<T> core::any::Any for aya_log_common::RecordField where T: 'static + core::marker::Sized
  171. pub fn aya_log_common::RecordField::type_id(&self) -> core::any::TypeId
  172. impl<T> core::borrow::Borrow<T> for aya_log_common::RecordField where T: core::marker::Sized
  173. pub fn aya_log_common::RecordField::borrow(&self) -> &T
  174. impl<T> core::borrow::BorrowMut<T> for aya_log_common::RecordField where T: core::marker::Sized
  175. pub fn aya_log_common::RecordField::borrow_mut(&mut self) -> &mut T
  176. impl<T> core::clone::CloneToUninit for aya_log_common::RecordField where T: core::clone::Clone
  177. pub unsafe fn aya_log_common::RecordField::clone_to_uninit(&self, dst: *mut T)
  178. impl<T> core::convert::From<T> for aya_log_common::RecordField
  179. pub fn aya_log_common::RecordField::from(t: T) -> T
  180. pub const aya_log_common::LOG_BUF_CAPACITY: usize
  181. pub const aya_log_common::LOG_FIELDS: usize
  182. pub trait aya_log_common::DefaultFormatter
  183. impl aya_log_common::DefaultFormatter for &str
  184. impl aya_log_common::DefaultFormatter for bool
  185. impl aya_log_common::DefaultFormatter for char
  186. impl aya_log_common::DefaultFormatter for core::net::ip_addr::IpAddr
  187. impl aya_log_common::DefaultFormatter for core::net::ip_addr::Ipv4Addr
  188. impl aya_log_common::DefaultFormatter for core::net::ip_addr::Ipv6Addr
  189. impl aya_log_common::DefaultFormatter for f32
  190. impl aya_log_common::DefaultFormatter for f64
  191. impl aya_log_common::DefaultFormatter for i16
  192. impl aya_log_common::DefaultFormatter for i32
  193. impl aya_log_common::DefaultFormatter for i64
  194. impl aya_log_common::DefaultFormatter for i8
  195. impl aya_log_common::DefaultFormatter for isize
  196. impl aya_log_common::DefaultFormatter for str
  197. impl aya_log_common::DefaultFormatter for u16
  198. impl aya_log_common::DefaultFormatter for u32
  199. impl aya_log_common::DefaultFormatter for u64
  200. impl aya_log_common::DefaultFormatter for u8
  201. impl aya_log_common::DefaultFormatter for usize
  202. pub trait aya_log_common::IpFormatter
  203. impl aya_log_common::IpFormatter for [u16; 8]
  204. impl aya_log_common::IpFormatter for [u8; 16]
  205. impl aya_log_common::IpFormatter for [u8; 4]
  206. impl aya_log_common::IpFormatter for core::net::ip_addr::IpAddr
  207. impl aya_log_common::IpFormatter for core::net::ip_addr::Ipv4Addr
  208. impl aya_log_common::IpFormatter for core::net::ip_addr::Ipv6Addr
  209. impl aya_log_common::IpFormatter for u32
  210. pub trait aya_log_common::LowerHexFormatter
  211. impl aya_log_common::LowerHexFormatter for &[u8]
  212. impl aya_log_common::LowerHexFormatter for i16
  213. impl aya_log_common::LowerHexFormatter for i32
  214. impl aya_log_common::LowerHexFormatter for i64
  215. impl aya_log_common::LowerHexFormatter for i8
  216. impl aya_log_common::LowerHexFormatter for isize
  217. impl aya_log_common::LowerHexFormatter for u16
  218. impl aya_log_common::LowerHexFormatter for u32
  219. impl aya_log_common::LowerHexFormatter for u64
  220. impl aya_log_common::LowerHexFormatter for u8
  221. impl aya_log_common::LowerHexFormatter for usize
  222. pub trait aya_log_common::LowerMacFormatter
  223. impl aya_log_common::LowerMacFormatter for [u8; 6]
  224. pub trait aya_log_common::UpperHexFormatter
  225. impl aya_log_common::UpperHexFormatter for &[u8]
  226. impl aya_log_common::UpperHexFormatter for i16
  227. impl aya_log_common::UpperHexFormatter for i32
  228. impl aya_log_common::UpperHexFormatter for i64
  229. impl aya_log_common::UpperHexFormatter for i8
  230. impl aya_log_common::UpperHexFormatter for isize
  231. impl aya_log_common::UpperHexFormatter for u16
  232. impl aya_log_common::UpperHexFormatter for u32
  233. impl aya_log_common::UpperHexFormatter for u64
  234. impl aya_log_common::UpperHexFormatter for u8
  235. impl aya_log_common::UpperHexFormatter for usize
  236. pub trait aya_log_common::UpperMacFormatter
  237. impl aya_log_common::UpperMacFormatter for [u8; 6]
  238. pub trait aya_log_common::WriteToBuf
  239. pub fn aya_log_common::WriteToBuf::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  240. impl aya_log_common::WriteToBuf for &[u8]
  241. pub fn &[u8]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  242. impl aya_log_common::WriteToBuf for &str
  243. pub fn &str::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  244. impl aya_log_common::WriteToBuf for [u16; 8]
  245. pub fn [u16; 8]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  246. impl aya_log_common::WriteToBuf for [u8; 16]
  247. pub fn [u8; 16]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  248. impl aya_log_common::WriteToBuf for [u8; 4]
  249. pub fn [u8; 4]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  250. impl aya_log_common::WriteToBuf for [u8; 6]
  251. pub fn [u8; 6]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  252. impl aya_log_common::WriteToBuf for aya_log_common::DisplayHint
  253. pub fn aya_log_common::DisplayHint::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  254. impl aya_log_common::WriteToBuf for core::net::ip_addr::IpAddr
  255. pub fn core::net::ip_addr::IpAddr::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  256. impl aya_log_common::WriteToBuf for core::net::ip_addr::Ipv4Addr
  257. pub fn core::net::ip_addr::Ipv4Addr::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  258. impl aya_log_common::WriteToBuf for core::net::ip_addr::Ipv6Addr
  259. pub fn core::net::ip_addr::Ipv6Addr::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  260. impl aya_log_common::WriteToBuf for f32
  261. pub fn f32::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  262. impl aya_log_common::WriteToBuf for f64
  263. pub fn f64::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  264. impl aya_log_common::WriteToBuf for i16
  265. pub fn i16::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  266. impl aya_log_common::WriteToBuf for i32
  267. pub fn i32::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  268. impl aya_log_common::WriteToBuf for i64
  269. pub fn i64::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  270. impl aya_log_common::WriteToBuf for i8
  271. pub fn i8::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  272. impl aya_log_common::WriteToBuf for isize
  273. pub fn isize::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  274. impl aya_log_common::WriteToBuf for u16
  275. pub fn u16::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  276. impl aya_log_common::WriteToBuf for u32
  277. pub fn u32::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  278. impl aya_log_common::WriteToBuf for u64
  279. pub fn u64::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  280. impl aya_log_common::WriteToBuf for u8
  281. pub fn u8::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  282. impl aya_log_common::WriteToBuf for usize
  283. pub fn usize::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  284. pub type aya_log_common::LogValueLength = u16