Struct capnpc::schema_capnp::method::Reader
source · pub struct Reader<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Reader<'a>
impl<'a> Reader<'a>
pub fn reborrow(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize>
pub fn get_name(self) -> Result<Reader<'a>>
pub fn has_name(&self) -> bool
pub fn get_code_order(self) -> u16
pub fn get_param_struct_type(self) -> u64
pub fn get_result_struct_type(self) -> u64
pub fn get_annotations(self) -> Result<Reader<'a, Owned>>
pub fn has_annotations(&self) -> bool
pub fn get_param_brand(self) -> Result<Reader<'a>>
pub fn has_param_brand(&self) -> bool
pub fn get_result_brand(self) -> Result<Reader<'a>>
pub fn has_result_brand(&self) -> bool
pub fn get_implicit_parameters(self) -> Result<Reader<'a, Owned>>
pub fn has_implicit_parameters(&self) -> bool
Trait Implementations
sourceimpl<'a> FromPointerReader<'a> for Reader<'a>
impl<'a> FromPointerReader<'a> for Reader<'a>
fn get_from_pointer(reader: &PointerReader<'a>) -> Result<Reader<'a>>
sourceimpl<'a> FromStructReader<'a> for Reader<'a>
impl<'a> FromStructReader<'a> for Reader<'a>
fn new(reader: StructReader<'a>) -> Reader<'a>
sourceimpl<'a> SetPointerBuilder<Builder<'a>> for Reader<'a>
impl<'a> SetPointerBuilder<Builder<'a>> for Reader<'a>
fn set_pointer_builder<'b>(
pointer: PointerBuilder<'b>,
value: Reader<'a>,
canonicalize: bool
) -> Result<()>
impl<'a> Copy for Reader<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Reader<'a>
impl<'a> !Send for Reader<'a>
impl<'a> !Sync for Reader<'a>
impl<'a> Unpin for Reader<'a>
impl<'a> !UnwindSafe for Reader<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more