aya-log-common.txt 16 KB

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