aya-tool.txt 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. pub mod aya_tool
  2. pub mod aya_tool::bindgen
  3. pub fn aya_tool::bindgen::bpf_builder() -> bindgen::Builder
  4. pub fn aya_tool::bindgen::user_builder() -> bindgen::Builder
  5. pub mod aya_tool::generate
  6. pub enum aya_tool::generate::Error
  7. pub aya_tool::generate::Error::Bindgen(std::io::error::Error)
  8. pub aya_tool::generate::Error::BindgenExit
  9. pub aya_tool::generate::Error::BindgenExit::code: i32
  10. pub aya_tool::generate::Error::BindgenExit::stderr: alloc::string::String
  11. pub aya_tool::generate::Error::BpfTool(std::io::error::Error)
  12. pub aya_tool::generate::Error::BpfToolExit
  13. pub aya_tool::generate::Error::BpfToolExit::code: i32
  14. pub aya_tool::generate::Error::BpfToolExit::stderr: alloc::string::String
  15. pub aya_tool::generate::Error::ReadHeaderFile(std::io::error::Error)
  16. pub aya_tool::generate::Error::Rustfmt(std::io::error::Error)
  17. impl core::error::Error for aya_tool::generate::Error
  18. pub fn aya_tool::generate::Error::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
  19. impl core::fmt::Display for aya_tool::generate::Error
  20. pub fn aya_tool::generate::Error::fmt(&self, __formatter: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
  21. impl core::fmt::Debug for aya_tool::generate::Error
  22. pub fn aya_tool::generate::Error::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
  23. impl core::marker::Send for aya_tool::generate::Error
  24. impl core::marker::Sync for aya_tool::generate::Error
  25. impl core::marker::Unpin for aya_tool::generate::Error
  26. impl !core::panic::unwind_safe::RefUnwindSafe for aya_tool::generate::Error
  27. impl !core::panic::unwind_safe::UnwindSafe for aya_tool::generate::Error
  28. impl<T, U> core::convert::Into<U> for aya_tool::generate::Error where U: core::convert::From<T>
  29. pub fn aya_tool::generate::Error::into(self) -> U
  30. impl<T, U> core::convert::TryFrom<U> for aya_tool::generate::Error where U: core::convert::Into<T>
  31. pub type aya_tool::generate::Error::Error = core::convert::Infallible
  32. pub fn aya_tool::generate::Error::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  33. impl<T, U> core::convert::TryInto<U> for aya_tool::generate::Error where U: core::convert::TryFrom<T>
  34. pub type aya_tool::generate::Error::Error = <U as core::convert::TryFrom<T>>::Error
  35. pub fn aya_tool::generate::Error::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  36. impl<T> alloc::string::ToString for aya_tool::generate::Error where T: core::fmt::Display + core::marker::Sized
  37. pub fn aya_tool::generate::Error::to_string(&self) -> alloc::string::String
  38. impl<T> core::any::Any for aya_tool::generate::Error where T: 'static + core::marker::Sized
  39. pub fn aya_tool::generate::Error::type_id(&self) -> core::any::TypeId
  40. impl<T> core::borrow::Borrow<T> for aya_tool::generate::Error where T: core::marker::Sized
  41. pub fn aya_tool::generate::Error::borrow(&self) -> &T
  42. impl<T> core::borrow::BorrowMut<T> for aya_tool::generate::Error where T: core::marker::Sized
  43. pub fn aya_tool::generate::Error::borrow_mut(&mut self) -> &mut T
  44. impl<T> core::convert::From<T> for aya_tool::generate::Error
  45. pub fn aya_tool::generate::Error::from(t: T) -> T
  46. pub enum aya_tool::generate::InputFile
  47. pub aya_tool::generate::InputFile::Btf(std::path::PathBuf)
  48. pub aya_tool::generate::InputFile::Header(std::path::PathBuf)
  49. impl core::marker::Send for aya_tool::generate::InputFile
  50. impl core::marker::Sync for aya_tool::generate::InputFile
  51. impl core::marker::Unpin for aya_tool::generate::InputFile
  52. impl core::panic::unwind_safe::RefUnwindSafe for aya_tool::generate::InputFile
  53. impl core::panic::unwind_safe::UnwindSafe for aya_tool::generate::InputFile
  54. impl<T, U> core::convert::Into<U> for aya_tool::generate::InputFile where U: core::convert::From<T>
  55. pub fn aya_tool::generate::InputFile::into(self) -> U
  56. impl<T, U> core::convert::TryFrom<U> for aya_tool::generate::InputFile where U: core::convert::Into<T>
  57. pub type aya_tool::generate::InputFile::Error = core::convert::Infallible
  58. pub fn aya_tool::generate::InputFile::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  59. impl<T, U> core::convert::TryInto<U> for aya_tool::generate::InputFile where U: core::convert::TryFrom<T>
  60. pub type aya_tool::generate::InputFile::Error = <U as core::convert::TryFrom<T>>::Error
  61. pub fn aya_tool::generate::InputFile::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  62. impl<T> core::any::Any for aya_tool::generate::InputFile where T: 'static + core::marker::Sized
  63. pub fn aya_tool::generate::InputFile::type_id(&self) -> core::any::TypeId
  64. impl<T> core::borrow::Borrow<T> for aya_tool::generate::InputFile where T: core::marker::Sized
  65. pub fn aya_tool::generate::InputFile::borrow(&self) -> &T
  66. impl<T> core::borrow::BorrowMut<T> for aya_tool::generate::InputFile where T: core::marker::Sized
  67. pub fn aya_tool::generate::InputFile::borrow_mut(&mut self) -> &mut T
  68. impl<T> core::convert::From<T> for aya_tool::generate::InputFile
  69. pub fn aya_tool::generate::InputFile::from(t: T) -> T
  70. pub fn aya_tool::generate::generate<T: core::convert::AsRef<str>>(input_file: aya_tool::generate::InputFile, types: &[T], additional_flags: &[T]) -> core::result::Result<alloc::string::String, aya_tool::generate::Error>
  71. pub mod aya_tool::rustfmt
  72. pub fn aya_tool::rustfmt::format(code: &str) -> core::result::Result<alloc::string::String, std::io::error::Error>
  73. pub enum aya_tool::InputFile
  74. pub aya_tool::InputFile::Btf(std::path::PathBuf)
  75. pub aya_tool::InputFile::Header(std::path::PathBuf)
  76. impl core::marker::Send for aya_tool::generate::InputFile
  77. impl core::marker::Sync for aya_tool::generate::InputFile
  78. impl core::marker::Unpin for aya_tool::generate::InputFile
  79. impl core::panic::unwind_safe::RefUnwindSafe for aya_tool::generate::InputFile
  80. impl core::panic::unwind_safe::UnwindSafe for aya_tool::generate::InputFile
  81. impl<T, U> core::convert::Into<U> for aya_tool::generate::InputFile where U: core::convert::From<T>
  82. pub fn aya_tool::generate::InputFile::into(self) -> U
  83. impl<T, U> core::convert::TryFrom<U> for aya_tool::generate::InputFile where U: core::convert::Into<T>
  84. pub type aya_tool::generate::InputFile::Error = core::convert::Infallible
  85. pub fn aya_tool::generate::InputFile::try_from(value: U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
  86. impl<T, U> core::convert::TryInto<U> for aya_tool::generate::InputFile where U: core::convert::TryFrom<T>
  87. pub type aya_tool::generate::InputFile::Error = <U as core::convert::TryFrom<T>>::Error
  88. pub fn aya_tool::generate::InputFile::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
  89. impl<T> core::any::Any for aya_tool::generate::InputFile where T: 'static + core::marker::Sized
  90. pub fn aya_tool::generate::InputFile::type_id(&self) -> core::any::TypeId
  91. impl<T> core::borrow::Borrow<T> for aya_tool::generate::InputFile where T: core::marker::Sized
  92. pub fn aya_tool::generate::InputFile::borrow(&self) -> &T
  93. impl<T> core::borrow::BorrowMut<T> for aya_tool::generate::InputFile where T: core::marker::Sized
  94. pub fn aya_tool::generate::InputFile::borrow_mut(&mut self) -> &mut T
  95. impl<T> core::convert::From<T> for aya_tool::generate::InputFile
  96. pub fn aya_tool::generate::InputFile::from(t: T) -> T
  97. pub fn aya_tool::generate<T: core::convert::AsRef<str>>(input_file: aya_tool::generate::InputFile, types: &[T], additional_flags: &[T]) -> core::result::Result<alloc::string::String, aya_tool::generate::Error>
  98. pub fn aya_tool::write_to_file<T: core::convert::AsRef<std::path::Path>>(path: T, code: &str) -> core::result::Result<(), std::io::error::Error>
  99. pub fn aya_tool::write_to_file_fmt<T: core::convert::AsRef<std::path::Path>>(path: T, code: &str) -> core::result::Result<(), std::io::error::Error>