#[repr(C)]
pub struct vdi_methods { pub magic: c_uint, pub type_: *const c_char, pub http1pipe: vdi_http1pipe_f, pub healthy: vdi_healthy_f, pub resolve: vdi_resolve_f, pub gethdrs: vdi_gethdrs_f, pub getip: vdi_getip_f, pub finish: vdi_finish_f, pub event: vdi_event_f, pub destroy: vdi_destroy_f, pub panic: vdi_panic_f, pub list: vdi_list_f, }

Fields

magic: c_uinttype_: *const c_charhttp1pipe: vdi_http1pipe_fhealthy: vdi_healthy_fresolve: vdi_resolve_fgethdrs: vdi_gethdrs_fgetip: vdi_getip_ffinish: vdi_finish_fevent: vdi_event_fdestroy: vdi_destroy_fpanic: vdi_panic_flist: vdi_list_f

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.