pub struct R2aRoot<'a> {
pub _tab: Table<'a>,
}
Fields§
§_tab: Table<'a>
Implementations§
Source§impl<'a> R2aRoot<'a>
impl<'a> R2aRoot<'a>
pub const VT_ROOT_PAYLOAD_TYPE: VOffsetT = 4u16
pub const VT_ROOT_PAYLOAD: VOffsetT = 6u16
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args R2aRootArgs, ) -> WIPOffset<R2aRoot<'bldr>>
pub fn root_payload_type(&self) -> R2aRootPayload
pub fn root_payload(&self) -> Option<Table<'a>>
pub fn root_payload_as_error(&self) -> Option<R2aError<'a>>
pub fn root_payload_as_from_frontend(&self) -> Option<R2aFromFrontend<'a>>
pub fn root_payload_as_relay_shutting_down(&self) -> Option<EmptyTable<'a>>
Trait Implementations§
Source§impl Verifiable for R2aRoot<'_>
impl Verifiable for R2aRoot<'_>
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for R2aRoot<'a>
impl<'a> StructuralPartialEq for R2aRoot<'a>
Auto Trait Implementations§
impl<'a> Freeze for R2aRoot<'a>
impl<'a> RefUnwindSafe for R2aRoot<'a>
impl<'a> Send for R2aRoot<'a>
impl<'a> Sync for R2aRoot<'a>
impl<'a> Unpin for R2aRoot<'a>
impl<'a> UnwindSafe for R2aRoot<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more