aya-log-common.txt 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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::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::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 for aya_log_common::DisplayHint
  62. pub fn aya_log_common::DisplayHint::eq(&self, other: &aya_log_common::DisplayHint) -> bool
  63. impl core::convert::From<aya_log_common::DisplayHint> for u8
  64. pub fn u8::from(enum_value: aya_log_common::DisplayHint) -> Self
  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::StructuralPartialEq for aya_log_common::DisplayHint
  69. impl core::marker::Send for aya_log_common::DisplayHint
  70. impl core::marker::Sync for aya_log_common::DisplayHint
  71. impl core::marker::Unpin for aya_log_common::DisplayHint
  72. impl core::panic::unwind_safe::RefUnwindSafe for aya_log_common::DisplayHint
  73. impl core::panic::unwind_safe::UnwindSafe for aya_log_common::DisplayHint
  74. impl<T, U> core::convert::Into<U> for aya_log_common::DisplayHint where U: core::convert::From<T>
  75. pub fn aya_log_common::DisplayHint::into(self) -> U
  76. impl<T, U> core::convert::TryFrom<U> for aya_log_common::DisplayHint where U: core::convert::Into<T>
  77. pub type aya_log_common::DisplayHint::Error = core::convert::Infallible
  78. pub fn aya_log_common::DisplayHint::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  79. impl<T, U> core::convert::TryInto<U> for aya_log_common::DisplayHint where U: core::convert::TryFrom<T>
  80. pub type aya_log_common::DisplayHint::Error = <U as core::convert::TryFrom<T>>::Error
  81. pub fn aya_log_common::DisplayHint::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  82. impl<T> core::any::Any for aya_log_common::DisplayHint where T: 'static + core::marker::Sized
  83. pub fn aya_log_common::DisplayHint::type_id(&self) -> core::any::TypeId
  84. impl<T> core::borrow::Borrow<T> for aya_log_common::DisplayHint where T: core::marker::Sized
  85. pub fn aya_log_common::DisplayHint::borrow(&self) -> &T
  86. impl<T> core::borrow::BorrowMut<T> for aya_log_common::DisplayHint where T: core::marker::Sized
  87. pub fn aya_log_common::DisplayHint::borrow_mut(&mut self) -> &mut T
  88. impl<T> core::convert::From<T> for aya_log_common::DisplayHint
  89. pub fn aya_log_common::DisplayHint::from(t: T) -> T
  90. #[repr(u8)] pub enum aya_log_common::Level
  91. pub aya_log_common::Level::Debug
  92. pub aya_log_common::Level::Error = 1
  93. pub aya_log_common::Level::Info
  94. pub aya_log_common::Level::Trace
  95. pub aya_log_common::Level::Warn
  96. impl core::clone::Clone for aya_log_common::Level
  97. pub fn aya_log_common::Level::clone(&self) -> aya_log_common::Level
  98. impl core::cmp::Eq for aya_log_common::Level
  99. impl core::cmp::PartialEq for aya_log_common::Level
  100. pub fn aya_log_common::Level::eq(&self, other: &aya_log_common::Level) -> bool
  101. impl core::convert::From<aya_log_common::Level> for u8
  102. pub fn u8::from(enum_value: aya_log_common::Level) -> Self
  103. impl core::fmt::Debug for aya_log_common::Level
  104. pub fn aya_log_common::Level::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
  105. impl core::hash::Hash for aya_log_common::Level
  106. pub fn aya_log_common::Level::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
  107. impl core::marker::Copy 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::convert::From<aya_log_common::RecordField> for u8
  140. pub fn u8::from(enum_value: aya_log_common::RecordField) -> Self
  141. impl core::fmt::Debug for aya_log_common::RecordField
  142. pub fn aya_log_common::RecordField::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
  143. impl core::marker::Copy for aya_log_common::RecordField
  144. impl core::marker::Send for aya_log_common::RecordField
  145. impl core::marker::Sync for aya_log_common::RecordField
  146. impl core::marker::Unpin for aya_log_common::RecordField
  147. impl core::panic::unwind_safe::RefUnwindSafe for aya_log_common::RecordField
  148. impl core::panic::unwind_safe::UnwindSafe for aya_log_common::RecordField
  149. impl<T, U> core::convert::Into<U> for aya_log_common::RecordField where U: core::convert::From<T>
  150. pub fn aya_log_common::RecordField::into(self) -> U
  151. impl<T, U> core::convert::TryFrom<U> for aya_log_common::RecordField where U: core::convert::Into<T>
  152. pub type aya_log_common::RecordField::Error = core::convert::Infallible
  153. pub fn aya_log_common::RecordField::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  154. impl<T, U> core::convert::TryInto<U> for aya_log_common::RecordField where U: core::convert::TryFrom<T>
  155. pub type aya_log_common::RecordField::Error = <U as core::convert::TryFrom<T>>::Error
  156. pub fn aya_log_common::RecordField::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  157. impl<T> core::any::Any for aya_log_common::RecordField where T: 'static + core::marker::Sized
  158. pub fn aya_log_common::RecordField::type_id(&self) -> core::any::TypeId
  159. impl<T> core::borrow::Borrow<T> for aya_log_common::RecordField where T: core::marker::Sized
  160. pub fn aya_log_common::RecordField::borrow(&self) -> &T
  161. impl<T> core::borrow::BorrowMut<T> for aya_log_common::RecordField where T: core::marker::Sized
  162. pub fn aya_log_common::RecordField::borrow_mut(&mut self) -> &mut T
  163. impl<T> core::convert::From<T> for aya_log_common::RecordField
  164. pub fn aya_log_common::RecordField::from(t: T) -> T
  165. pub const aya_log_common::LOG_BUF_CAPACITY: usize = 8_192usize
  166. pub const aya_log_common::LOG_FIELDS: usize = 6usize
  167. pub trait aya_log_common::DefaultFormatter
  168. impl aya_log_common::DefaultFormatter for &str
  169. impl aya_log_common::DefaultFormatter for bool
  170. impl aya_log_common::DefaultFormatter for char
  171. impl aya_log_common::DefaultFormatter for f32
  172. impl aya_log_common::DefaultFormatter for f64
  173. impl aya_log_common::DefaultFormatter for i16
  174. impl aya_log_common::DefaultFormatter for i32
  175. impl aya_log_common::DefaultFormatter for i64
  176. impl aya_log_common::DefaultFormatter for i8
  177. impl aya_log_common::DefaultFormatter for isize
  178. impl aya_log_common::DefaultFormatter for str
  179. impl aya_log_common::DefaultFormatter for u16
  180. impl aya_log_common::DefaultFormatter for u32
  181. impl aya_log_common::DefaultFormatter for u64
  182. impl aya_log_common::DefaultFormatter for u8
  183. impl aya_log_common::DefaultFormatter for usize
  184. pub trait aya_log_common::IpFormatter
  185. impl aya_log_common::IpFormatter for [u16; 8]
  186. impl aya_log_common::IpFormatter for [u8; 16]
  187. impl aya_log_common::IpFormatter for u32
  188. pub trait aya_log_common::LowerHexFormatter
  189. impl aya_log_common::LowerHexFormatter for &[u8]
  190. impl aya_log_common::LowerHexFormatter for i16
  191. impl aya_log_common::LowerHexFormatter for i32
  192. impl aya_log_common::LowerHexFormatter for i64
  193. impl aya_log_common::LowerHexFormatter for i8
  194. impl aya_log_common::LowerHexFormatter for isize
  195. impl aya_log_common::LowerHexFormatter for u16
  196. impl aya_log_common::LowerHexFormatter for u32
  197. impl aya_log_common::LowerHexFormatter for u64
  198. impl aya_log_common::LowerHexFormatter for u8
  199. impl aya_log_common::LowerHexFormatter for usize
  200. pub trait aya_log_common::LowerMacFormatter
  201. impl aya_log_common::LowerMacFormatter for [u8; 6]
  202. pub trait aya_log_common::UpperHexFormatter
  203. impl aya_log_common::UpperHexFormatter for &[u8]
  204. impl aya_log_common::UpperHexFormatter for i16
  205. impl aya_log_common::UpperHexFormatter for i32
  206. impl aya_log_common::UpperHexFormatter for i64
  207. impl aya_log_common::UpperHexFormatter for i8
  208. impl aya_log_common::UpperHexFormatter for isize
  209. impl aya_log_common::UpperHexFormatter for u16
  210. impl aya_log_common::UpperHexFormatter for u32
  211. impl aya_log_common::UpperHexFormatter for u64
  212. impl aya_log_common::UpperHexFormatter for u8
  213. impl aya_log_common::UpperHexFormatter for usize
  214. pub trait aya_log_common::UpperMacFormatter
  215. impl aya_log_common::UpperMacFormatter for [u8; 6]
  216. pub trait aya_log_common::WriteToBuf
  217. pub fn aya_log_common::WriteToBuf::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  218. impl aya_log_common::WriteToBuf for &[u8]
  219. pub fn &[u8]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  220. impl aya_log_common::WriteToBuf for &str
  221. pub fn &str::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  222. impl aya_log_common::WriteToBuf for [u16; 8]
  223. pub fn [u16; 8]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  224. impl aya_log_common::WriteToBuf for [u8; 16]
  225. pub fn [u8; 16]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  226. impl aya_log_common::WriteToBuf for [u8; 6]
  227. pub fn [u8; 6]::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  228. impl aya_log_common::WriteToBuf for aya_log_common::DisplayHint
  229. pub fn aya_log_common::DisplayHint::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  230. impl aya_log_common::WriteToBuf for f32
  231. pub fn f32::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  232. impl aya_log_common::WriteToBuf for f64
  233. pub fn f64::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  234. impl aya_log_common::WriteToBuf for i16
  235. pub fn i16::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  236. impl aya_log_common::WriteToBuf for i32
  237. pub fn i32::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  238. impl aya_log_common::WriteToBuf for i64
  239. pub fn i64::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  240. impl aya_log_common::WriteToBuf for i8
  241. pub fn i8::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  242. impl aya_log_common::WriteToBuf for isize
  243. pub fn isize::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  244. impl aya_log_common::WriteToBuf for u16
  245. pub fn u16::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  246. impl aya_log_common::WriteToBuf for u32
  247. pub fn u32::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  248. impl aya_log_common::WriteToBuf for u64
  249. pub fn u64::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  250. impl aya_log_common::WriteToBuf for u8
  251. pub fn u8::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  252. impl aya_log_common::WriteToBuf for usize
  253. pub fn usize::write(self, buf: &mut [u8]) -> core::option::Option<core::num::nonzero::NonZeroUsize>
  254. pub type aya_log_common::LogValueLength = u16