fdf::Channel

Summary

Constructors and Destructors

Channel()
Channel(fdf_handle_t channel)
Channel(const Channel & to_copy)
Channel(Channel && other)
~Channel()

Public types

HandleTypeusing
fdf_handle_t

Public functions

Call(uint32_t options, zx::time deadline, const Arena & arena, void *data, uint32_t num_bytes, cpp20::span< zx_handle_t > handles) const
Read(uint32_t options) const
Write(uint32_t options, const Arena & arena, void *data, uint32_t num_bytes, cpp20::span< zx_handle_t > handles) const
borrow() const
close()
void
get() const
fdf_handle_t
is_valid() const
bool
operator=(const Channel & other)=delete
operator=(Channel && other) noexcept
release()
fdf_handle_t
reset(fdf_handle_t channel)
void

Structs

fdf::Channel::ReadReturn

Public types

HandleType

fdf_handle_t HandleType

Public functions

Call

zx::result< ReadReturn > Call(
  uint32_t options,
  zx::time deadline,
  const Arena & arena,
  void *data,
  uint32_t num_bytes,
  cpp20::span< zx_handle_t > handles
) const 

Channel

 Channel()

Channel

 Channel(
  fdf_handle_t channel
)

Channel

 Channel(
  const Channel & to_copy
)=delete

Channel

 Channel(
  Channel && other
) noexcept