aya-log-common.txt 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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::clone::CloneToUninit for aya_log_common::Argument where T: core::marker::Copy
  54. pub unsafe fn aya_log_common::Argument::clone_to_uninit(&self, dst: *mut T)
  55. impl<T> core::convert::From<T> for aya_log_common::Argument
  56. pub fn aya_log_common::Argument::from(t: T) -> T
  57. #[repr(u8)] pub enum aya_log_common::DisplayHint
  58. pub aya_log_common::DisplayHint::Default = 1
  59. pub aya_log_common::DisplayHint::Ip
  60. pub aya_log_common::DisplayHint::LowerHex
  61. pub aya_log_common::DisplayHint::LowerMac
  62. pub aya_log_common::DisplayHint::UpperHex
  63. pub aya_log_common::DisplayHint::UpperMac
  64. impl aya_log_common::WriteToBuf for aya_log_common::DisplayHint
  65. pub fn aya_log_common::DisplayHint::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  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, dst: *mut T)
  99. impl<T> core::clone::CloneToUninit for aya_log_common::DisplayHint where T: core::marker::Copy
  100. pub unsafe fn aya_log_common::DisplayHint::clone_to_uninit(&self, dst: *mut T)
  101. impl<T> core::convert::From<T> for aya_log_common::DisplayHint
  102. pub fn aya_log_common::DisplayHint::from(t: T) -> T
  103. #[repr(u8)] pub enum aya_log_common::Level
  104. pub aya_log_common::Level::Debug
  105. pub aya_log_common::Level::Error = 1
  106. pub aya_log_common::Level::Info
  107. pub aya_log_common::Level::Trace
  108. pub aya_log_common::Level::Warn
  109. impl core::clone::Clone for aya_log_common::Level
  110. pub fn aya_log_common::Level::clone(&self) -> aya_log_common::Level
  111. impl core::cmp::Eq for aya_log_common::Level
  112. impl core::cmp::PartialEq for aya_log_common::Level
  113. pub fn aya_log_common::Level::eq(&self, other: &aya_log_common::Level) -> bool
  114. impl core::convert::From<aya_log_common::Level> for u8
  115. pub fn u8::from(enum_value: aya_log_common::Level) -> Self
  116. impl core::fmt::Debug for aya_log_common::Level
  117. pub fn aya_log_common::Level::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
  118. impl core::hash::Hash for aya_log_common::Level
  119. pub fn aya_log_common::Level::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
  120. impl core::marker::Copy for aya_log_common::Level
  121. impl core::marker::StructuralPartialEq for aya_log_common::Level
  122. impl core::marker::Freeze for aya_log_common::Level
  123. impl core::marker::Send for aya_log_common::Level
  124. impl core::marker::Sync for aya_log_common::Level
  125. impl core::marker::Unpin for aya_log_common::Level
  126. impl core::panic::unwind_safe::RefUnwindSafe for aya_log_common::Level
  127. impl core::panic::unwind_safe::UnwindSafe for aya_log_common::Level
  128. impl<T, U> core::convert::Into<U> for aya_log_common::Level where U: core::convert::From<T>
  129. pub fn aya_log_common::Level::into(self) -> U
  130. impl<T, U> core::convert::TryFrom<U> for aya_log_common::Level where U: core::convert::Into<T>
  131. pub type aya_log_common::Level::Error = core::convert::Infallible
  132. pub fn aya_log_common::Level::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  133. impl<T, U> core::convert::TryInto<U> for aya_log_common::Level where U: core::convert::TryFrom<T>
  134. pub type aya_log_common::Level::Error = <U as core::convert::TryFrom<T>>::Error
  135. pub fn aya_log_common::Level::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  136. impl<T> core::any::Any for aya_log_common::Level where T: 'static + core::marker::Sized
  137. pub fn aya_log_common::Level::type_id(&self) -> core::any::TypeId
  138. impl<T> core::borrow::Borrow<T> for aya_log_common::Level where T: core::marker::Sized
  139. pub fn aya_log_common::Level::borrow(&self) -> &T
  140. impl<T> core::borrow::BorrowMut<T> for aya_log_common::Level where T: core::marker::Sized
  141. pub fn aya_log_common::Level::borrow_mut(&mut self) -> &mut T
  142. impl<T> core::clone::CloneToUninit for aya_log_common::Level where T: core::clone::Clone
  143. pub unsafe fn aya_log_common::Level::clone_to_uninit(&self, dst: *mut T)
  144. impl<T> core::clone::CloneToUninit for aya_log_common::Level where T: core::marker::Copy
  145. pub unsafe fn aya_log_common::Level::clone_to_uninit(&self, dst: *mut T)
  146. impl<T> core::convert::From<T> for aya_log_common::Level
  147. pub fn aya_log_common::Level::from(t: T) -> T
  148. #[repr(u8)] pub enum aya_log_common::RecordField
  149. pub aya_log_common::RecordField::File
  150. pub aya_log_common::RecordField::Level
  151. pub aya_log_common::RecordField::Line
  152. pub aya_log_common::RecordField::Module
  153. pub aya_log_common::RecordField::NumArgs
  154. pub aya_log_common::RecordField::Target = 1
  155. impl core::clone::Clone for aya_log_common::RecordField
  156. pub fn aya_log_common::RecordField::clone(&self) -> aya_log_common::RecordField
  157. impl core::convert::From<aya_log_common::RecordField> for u8
  158. pub fn u8::from(enum_value: aya_log_common::RecordField) -> Self
  159. impl core::fmt::Debug for aya_log_common::RecordField
  160. pub fn aya_log_common::RecordField::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
  161. impl core::marker::Copy for aya_log_common::RecordField
  162. impl core::marker::Freeze for aya_log_common::RecordField
  163. impl core::marker::Send for aya_log_common::RecordField
  164. impl core::marker::Sync for aya_log_common::RecordField
  165. impl core::marker::Unpin for aya_log_common::RecordField
  166. impl core::panic::unwind_safe::RefUnwindSafe for aya_log_common::RecordField
  167. impl core::panic::unwind_safe::UnwindSafe for aya_log_common::RecordField
  168. impl<T, U> core::convert::Into<U> for aya_log_common::RecordField where U: core::convert::From<T>
  169. pub fn aya_log_common::RecordField::into(self) -> U
  170. impl<T, U> core::convert::TryFrom<U> for aya_log_common::RecordField where U: core::convert::Into<T>
  171. pub type aya_log_common::RecordField::Error = core::convert::Infallible
  172. pub fn aya_log_common::RecordField::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  173. impl<T, U> core::convert::TryInto<U> for aya_log_common::RecordField where U: core::convert::TryFrom<T>
  174. pub type aya_log_common::RecordField::Error = <U as core::convert::TryFrom<T>>::Error
  175. pub fn aya_log_common::RecordField::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  176. impl<T> core::any::Any for aya_log_common::RecordField where T: 'static + core::marker::Sized
  177. pub fn aya_log_common::RecordField::type_id(&self) -> core::any::TypeId
  178. impl<T> core::borrow::Borrow<T> for aya_log_common::RecordField where T: core::marker::Sized
  179. pub fn aya_log_common::RecordField::borrow(&self) -> &T
  180. impl<T> core::borrow::BorrowMut<T> for aya_log_common::RecordField where T: core::marker::Sized
  181. pub fn aya_log_common::RecordField::borrow_mut(&mut self) -> &mut T
  182. impl<T> core::clone::CloneToUninit for aya_log_common::RecordField where T: core::clone::Clone
  183. pub unsafe fn aya_log_common::RecordField::clone_to_uninit(&self, dst: *mut T)
  184. impl<T> core::clone::CloneToUninit for aya_log_common::RecordField where T: core::marker::Copy
  185. pub unsafe fn aya_log_common::RecordField::clone_to_uninit(&self, dst: *mut T)
  186. impl<T> core::convert::From<T> for aya_log_common::RecordField
  187. pub fn aya_log_common::RecordField::from(t: T) -> T
  188. pub const aya_log_common::LOG_BUF_CAPACITY: usize
  189. pub const aya_log_common::LOG_FIELDS: usize
  190. pub trait aya_log_common::DefaultFormatter
  191. impl aya_log_common::DefaultFormatter for &str
  192. impl aya_log_common::DefaultFormatter for bool
  193. impl aya_log_common::DefaultFormatter for char
  194. impl aya_log_common::DefaultFormatter for core::net::ip_addr::IpAddr
  195. impl aya_log_common::DefaultFormatter for core::net::ip_addr::Ipv4Addr
  196. impl aya_log_common::DefaultFormatter for core::net::ip_addr::Ipv6Addr
  197. impl aya_log_common::DefaultFormatter for f32
  198. impl aya_log_common::DefaultFormatter for f64
  199. impl aya_log_common::DefaultFormatter for i16
  200. impl aya_log_common::DefaultFormatter for i32
  201. impl aya_log_common::DefaultFormatter for i64
  202. impl aya_log_common::DefaultFormatter for i8
  203. impl aya_log_common::DefaultFormatter for isize
  204. impl aya_log_common::DefaultFormatter for str
  205. impl aya_log_common::DefaultFormatter for u16
  206. impl aya_log_common::DefaultFormatter for u32
  207. impl aya_log_common::DefaultFormatter for u64
  208. impl aya_log_common::DefaultFormatter for u8
  209. impl aya_log_common::DefaultFormatter for usize
  210. pub trait aya_log_common::IpFormatter
  211. impl aya_log_common::IpFormatter for [u16; 8]
  212. impl aya_log_common::IpFormatter for [u8; 16]
  213. impl aya_log_common::IpFormatter for [u8; 4]
  214. impl aya_log_common::IpFormatter for core::net::ip_addr::IpAddr
  215. impl aya_log_common::IpFormatter for core::net::ip_addr::Ipv4Addr
  216. impl aya_log_common::IpFormatter for core::net::ip_addr::Ipv6Addr
  217. impl aya_log_common::IpFormatter for u32
  218. pub trait aya_log_common::LowerHexFormatter
  219. impl aya_log_common::LowerHexFormatter for &[u8]
  220. impl aya_log_common::LowerHexFormatter for i16
  221. impl aya_log_common::LowerHexFormatter for i32
  222. impl aya_log_common::LowerHexFormatter for i64
  223. impl aya_log_common::LowerHexFormatter for i8
  224. impl aya_log_common::LowerHexFormatter for isize
  225. impl aya_log_common::LowerHexFormatter for u16
  226. impl aya_log_common::LowerHexFormatter for u32
  227. impl aya_log_common::LowerHexFormatter for u64
  228. impl aya_log_common::LowerHexFormatter for u8
  229. impl aya_log_common::LowerHexFormatter for usize
  230. pub trait aya_log_common::LowerMacFormatter
  231. impl aya_log_common::LowerMacFormatter for [u8; 6]
  232. pub trait aya_log_common::UpperHexFormatter
  233. impl aya_log_common::UpperHexFormatter for &[u8]
  234. impl aya_log_common::UpperHexFormatter for i16
  235. impl aya_log_common::UpperHexFormatter for i32
  236. impl aya_log_common::UpperHexFormatter for i64
  237. impl aya_log_common::UpperHexFormatter for i8
  238. impl aya_log_common::UpperHexFormatter for isize
  239. impl aya_log_common::UpperHexFormatter for u16
  240. impl aya_log_common::UpperHexFormatter for u32
  241. impl aya_log_common::UpperHexFormatter for u64
  242. impl aya_log_common::UpperHexFormatter for u8
  243. impl aya_log_common::UpperHexFormatter for usize
  244. pub trait aya_log_common::UpperMacFormatter
  245. impl aya_log_common::UpperMacFormatter for [u8; 6]
  246. pub trait aya_log_common::WriteToBuf
  247. pub fn aya_log_common::WriteToBuf::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  248. impl aya_log_common::WriteToBuf for &[u8]
  249. pub fn &[u8]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  250. impl aya_log_common::WriteToBuf for &str
  251. pub fn &str::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  252. impl aya_log_common::WriteToBuf for [u16; 8]
  253. pub fn [u16; 8]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  254. impl aya_log_common::WriteToBuf for [u8; 16]
  255. pub fn [u8; 16]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  256. impl aya_log_common::WriteToBuf for [u8; 4]
  257. pub fn [u8; 4]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  258. impl aya_log_common::WriteToBuf for [u8; 6]
  259. pub fn [u8; 6]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  260. impl aya_log_common::WriteToBuf for aya_log_common::DisplayHint
  261. pub fn aya_log_common::DisplayHint::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  262. impl aya_log_common::WriteToBuf for core::net::ip_addr::IpAddr
  263. pub fn core::net::ip_addr::IpAddr::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  264. impl aya_log_common::WriteToBuf for core::net::ip_addr::Ipv4Addr
  265. pub fn core::net::ip_addr::Ipv4Addr::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  266. impl aya_log_common::WriteToBuf for core::net::ip_addr::Ipv6Addr
  267. pub fn core::net::ip_addr::Ipv6Addr::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  268. impl aya_log_common::WriteToBuf for f32
  269. pub fn f32::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  270. impl aya_log_common::WriteToBuf for f64
  271. pub fn f64::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  272. impl aya_log_common::WriteToBuf for i16
  273. pub fn i16::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  274. impl aya_log_common::WriteToBuf for i32
  275. pub fn i32::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  276. impl aya_log_common::WriteToBuf for i64
  277. pub fn i64::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  278. impl aya_log_common::WriteToBuf for i8
  279. pub fn i8::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  280. impl aya_log_common::WriteToBuf for isize
  281. pub fn isize::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  282. impl aya_log_common::WriteToBuf for u16
  283. pub fn u16::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  284. impl aya_log_common::WriteToBuf for u32
  285. pub fn u32::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  286. impl aya_log_common::WriteToBuf for u64
  287. pub fn u64::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  288. impl aya_log_common::WriteToBuf for u8
  289. pub fn u8::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  290. impl aya_log_common::WriteToBuf for usize
  291. pub fn usize::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  292. pub type aya_log_common::LogValueLength = u16