API referencestd/quic

std/quic/posix

Public declarations, types, methods, and source contracts for std/quic/posix.

On this page

Library guide · API index and notation

This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.

import "std/quic/posix"

This is a provider or implementation package. Start with the linked guide’s application API; native declarations depend on the selected target.

Names used in signatures

Unqualified names denote this package’s types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.

This package has no source imports.

dodo_quic_new

Function · Source

pub unsafe extern "C" fn dodo_quic_new(server: i32, address: *const u8, hostname: *const u8, hostname_len: usize, roots: *const u8, roots_len: usize, certificate: *const u8, certificate_len: usize, key: *const u8, key_len: usize, alpn: *const u8, alpn_len: usize, system_roots: i32, client_auth: i32, verify_time: i64, idle_timeout: u64, error: *mut i32, code: *mut i32) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_free

Function · Source

pub unsafe extern "C" fn dodo_quic_free(state: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_handshake

Function · Source

pub unsafe extern "C" fn dodo_quic_handshake(state: *mut u8, code: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_accept_connection

Function · Source

pub unsafe extern "C" fn dodo_quic_accept_connection(state: *mut u8, status: *mut i32, code: *mut i32) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_open_stream

Function · Source

pub unsafe extern "C" fn dodo_quic_open_stream(state: *mut u8, unidirectional: i32, status: *mut i32, code: *mut i32) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_accept_stream

Function · Source

pub unsafe extern "C" fn dodo_quic_accept_stream(state: *mut u8, status: *mut i32, code: *mut i32) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_read

Function · Source

pub unsafe extern "C" fn dodo_quic_read(state: *mut u8, bytes: *mut u8, count: usize, actual: *mut usize, code: *mut i32, application: *mut u64) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_write

Function · Source

pub unsafe extern "C" fn dodo_quic_write(state: *mut u8, bytes: *const u8, count: usize, actual: *mut usize, code: *mut i32, application: *mut u64) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_conclude

Function · Source

pub unsafe extern "C" fn dodo_quic_conclude(state: *mut u8, code: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_reset

Function · Source

pub unsafe extern "C" fn dodo_quic_reset(state: *mut u8, application: u64, code: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_stream_info

Function · Source

pub unsafe extern "C" fn dodo_quic_stream_info(state: *mut u8, id: *mut u64, flags: *mut u32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_shutdown

Function · Source

pub unsafe extern "C" fn dodo_quic_shutdown(state: *mut u8, application: u64, code: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_close_info

Function · Source

pub unsafe extern "C" fn dodo_quic_close_info(state: *mut u8, application: *mut u64, flags: *mut u32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_events

Function · Source

pub unsafe extern "C" fn dodo_quic_events(state: *mut u8, code: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_timeout

Function · Source

pub unsafe extern "C" fn dodo_quic_timeout(state: *mut u8) -> i64

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_wait

Function · Source

pub unsafe extern "C" fn dodo_quic_wait(state: *mut u8, milliseconds: u32, code: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_alpn

Function · Source

pub unsafe extern "C" fn dodo_quic_alpn(state: *mut u8, bytes: *mut u8, capacity: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_quic_local_address

Function · Source

pub unsafe extern "C" fn dodo_quic_local_address(state: *mut u8, address: *mut u8, code: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

Search every guide, reference page, and API declaration.