#[repr(C)]pub struct aws_retry_strategy_vtable {
pub destroy: Option<unsafe extern "C" fn(retry_strategy: *mut aws_retry_strategy)>,
pub acquire_token: Option<unsafe extern "C" fn(retry_strategy: *mut aws_retry_strategy, partition_id: *const aws_byte_cursor, on_acquired: aws_retry_strategy_on_retry_token_acquired_fn, user_data: *mut c_void, timeout_ms: u64) -> c_int>,
pub schedule_retry: Option<unsafe extern "C" fn(token: *mut aws_retry_token, error_type: aws_retry_error_type, retry_ready: aws_retry_strategy_on_retry_ready_fn, user_data: *mut c_void) -> c_int>,
pub record_success: Option<unsafe extern "C" fn(token: *mut aws_retry_token) -> c_int>,
pub release_token: Option<unsafe extern "C" fn(token: *mut aws_retry_token)>,
}
Fields
destroy: Option<unsafe extern "C" fn(retry_strategy: *mut aws_retry_strategy)>
acquire_token: Option<unsafe extern "C" fn(retry_strategy: *mut aws_retry_strategy, partition_id: *const aws_byte_cursor, on_acquired: aws_retry_strategy_on_retry_token_acquired_fn, user_data: *mut c_void, timeout_ms: u64) -> c_int>
schedule_retry: Option<unsafe extern "C" fn(token: *mut aws_retry_token, error_type: aws_retry_error_type, retry_ready: aws_retry_strategy_on_retry_ready_fn, user_data: *mut c_void) -> c_int>
record_success: Option<unsafe extern "C" fn(token: *mut aws_retry_token) -> c_int>
release_token: Option<unsafe extern "C" fn(token: *mut aws_retry_token)>
Trait Implementations
sourceimpl Clone for aws_retry_strategy_vtable
impl Clone for aws_retry_strategy_vtable
sourcefn clone(&self) -> aws_retry_strategy_vtable
fn clone(&self) -> aws_retry_strategy_vtable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_retry_strategy_vtable
impl Debug for aws_retry_strategy_vtable
sourceimpl Default for aws_retry_strategy_vtable
impl Default for aws_retry_strategy_vtable
sourcefn default() -> aws_retry_strategy_vtable
fn default() -> aws_retry_strategy_vtable
Returns the “default value” for a type. Read more
sourceimpl PartialEq<aws_retry_strategy_vtable> for aws_retry_strategy_vtable
impl PartialEq<aws_retry_strategy_vtable> for aws_retry_strategy_vtable
sourcefn eq(&self, other: &aws_retry_strategy_vtable) -> bool
fn eq(&self, other: &aws_retry_strategy_vtable) -> bool
impl Copy for aws_retry_strategy_vtable
impl Eq for aws_retry_strategy_vtable
impl StructuralEq for aws_retry_strategy_vtable
impl StructuralPartialEq for aws_retry_strategy_vtable
Auto Trait Implementations
impl RefUnwindSafe for aws_retry_strategy_vtable
impl Send for aws_retry_strategy_vtable
impl Sync for aws_retry_strategy_vtable
impl Unpin for aws_retry_strategy_vtable
impl UnwindSafe for aws_retry_strategy_vtable
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