Struct grpcio_sys::grpc_tls_server_authorization_check_arg[][src]

#[repr(C)]pub struct grpc_tls_server_authorization_check_arg {
    pub cb: grpc_tls_on_server_authorization_check_done_cb,
    pub cb_user_data: *mut c_void,
    pub success: c_int,
    pub target_name: *const c_char,
    pub peer_cert: *const c_char,
    pub peer_cert_full_chain: *const c_char,
    pub subject_alternative_names: *mut *mut c_char,
    pub subject_alternative_names_size: usize,
    pub status: Type,
    pub error_details: *mut grpc_tls_error_details,
    pub config: *mut grpc_tls_server_authorization_check_config,
    pub context: *mut c_void,
    pub destroy_context: Option<unsafe extern "C" fn(ctx: *mut c_void)>,
}

A struct containing all information necessary to schedule/cancel a server authorization check request.

Fields

cb: grpc_tls_on_server_authorization_check_done_cbcb_user_data: *mut c_voidsuccess: c_inttarget_name: *const c_charpeer_cert: *const c_charpeer_cert_full_chain: *const c_charsubject_alternative_names: *mut *mut c_charsubject_alternative_names_size: usizestatus: Typeerror_details: *mut grpc_tls_error_detailsconfig: *mut grpc_tls_server_authorization_check_configcontext: *mut c_voiddestroy_context: Option<unsafe extern "C" fn(ctx: *mut c_void)>

Trait Implementations

impl Clone for grpc_tls_server_authorization_check_arg[src]

impl Copy for grpc_tls_server_authorization_check_arg[src]

impl Debug for grpc_tls_server_authorization_check_arg[src]

Auto Trait Implementations

impl RefUnwindSafe for grpc_tls_server_authorization_check_arg

impl !Send for grpc_tls_server_authorization_check_arg

impl !Sync for grpc_tls_server_authorization_check_arg

impl Unpin for grpc_tls_server_authorization_check_arg

impl UnwindSafe for grpc_tls_server_authorization_check_arg

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.