aya-log-common.txt 15 KB

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