Struct capnp::any_pointer::Reader
source · pub struct Reader<'a> { /* private fields */ }
Implementations§
source§impl<'a> Reader<'a>
impl<'a> Reader<'a>
pub fn new(reader: PointerReader<'_>) -> Reader<'_>
pub fn is_null(&self) -> bool
sourcepub fn target_size(&self) -> Result<MessageSize>
pub fn target_size(&self) -> Result<MessageSize>
Gets the total size of the target and all of its children. Does not count far pointer overhead.