[−][src]Struct grpcio_sys::grpc_tls_credential_reload_arg
A struct containing all information necessary to schedule/cancel a credential reload request.
- cb and cb_user_data represent a gRPC-provided callback and an argument passed to it.
- key_materials_config is an in/output parameter containing currently used/newly reloaded credentials. If credential reload does not result in a new credential, key_materials_config should not be modified.
- status and error_details are used to hold information about errors occurred when a credential reload request is scheduled/cancelled.
- config is a pointer to the unique grpc_tls_credential_reload_config instance that this argument corresponds to.
- context is a pointer to a wrapped language implementation of this grpc_tls_credential_reload_arg instance.
- destroy_context is a pointer to a caller-provided method that cleans up any data associated with the context pointer. It is used for experimental purposes for now and subject to change.
Fields
cb: grpc_tls_on_credential_reload_done_cb
cb_user_data: *mut c_void
key_materials_config: *mut grpc_tls_key_materials_config
status: grpc_ssl_certificate_config_reload_status
error_details: *const c_char
config: *mut grpc_tls_credential_reload_config
context: *mut c_void
destroy_context: Option<unsafe extern "C" fn(ctx: *mut c_void)>
Trait Implementations
impl Clone for grpc_tls_credential_reload_arg
[src]
fn clone(&self) -> grpc_tls_credential_reload_arg
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for grpc_tls_credential_reload_arg
[src]
impl Debug for grpc_tls_credential_reload_arg
[src]
Auto Trait Implementations
impl RefUnwindSafe for grpc_tls_credential_reload_arg
impl !Send for grpc_tls_credential_reload_arg
impl !Sync for grpc_tls_credential_reload_arg
impl Unpin for grpc_tls_credential_reload_arg
impl UnwindSafe for grpc_tls_credential_reload_arg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,