aya-log-common.txt 18 KB

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