Skip to main content

transport_mut

Function transport_mut 

Source
pub unsafe fn transport_mut(ptr: *mut u8) -> &'static mut TransportState
Expand description

Returns a mutable reference to the transport state.

§Safety

ptr must point to a valid allocation containing at least TransportState’s size.