pub struct ConnectionConfig<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> ConnectionConfig<'a>
impl<'a> ConnectionConfig<'a>
pub const VT_RECONNECT: VOffsetT = 4
pub const VT_RECONNECT_INTERVAL_MS: VOffsetT = 6
pub const VT_MAX_RETRIES: VOffsetT = 8
pub const VT_HEARTBEAT_INTERVAL_MS: VOffsetT = 10
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 ConnectionConfigArgs, ) -> WIPOffset<ConnectionConfig<'bldr>>
pub fn reconnect(&self) -> bool
pub fn reconnect_interval_ms(&self) -> u32
pub fn max_retries(&self) -> i32
pub fn heartbeat_interval_ms(&self) -> u32
Trait Implementations§
Source§impl<'a> Clone for ConnectionConfig<'a>
impl<'a> Clone for ConnectionConfig<'a>
Source§fn clone(&self) -> ConnectionConfig<'a>
fn clone(&self) -> ConnectionConfig<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionConfig<'_>
impl Debug for ConnectionConfig<'_>
Source§impl<'a> Follow<'a> for ConnectionConfig<'a>
impl<'a> Follow<'a> for ConnectionConfig<'a>
Source§impl<'a> PartialEq for ConnectionConfig<'a>
impl<'a> PartialEq for ConnectionConfig<'a>
Source§impl Verifiable for ConnectionConfig<'_>
impl Verifiable for ConnectionConfig<'_>
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 ConnectionConfig<'a>
impl<'a> StructuralPartialEq for ConnectionConfig<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConnectionConfig<'a>
impl<'a> RefUnwindSafe for ConnectionConfig<'a>
impl<'a> Send for ConnectionConfig<'a>
impl<'a> Sync for ConnectionConfig<'a>
impl<'a> Unpin for ConnectionConfig<'a>
impl<'a> UnsafeUnpin for ConnectionConfig<'a>
impl<'a> UnwindSafe for ConnectionConfig<'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