aya-log-common.txt 17 KB

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