#[repr(C)]pub struct apr_hdtr_t {
pub headers: *mut iovec,
pub numheaders: c_int,
pub trailers: *mut iovec,
pub numtrailers: c_int,
}Expand description
A structure to encapsulate headers and trailers for apr_socket_sendfile
Fields§
§headers: *mut iovecAn iovec to store the headers sent before the file.
numheaders: c_intnumber of headers in the iovec
trailers: *mut iovecAn iovec to store the trailers sent after the file.
numtrailers: c_intnumber of trailers in the iovec
Trait Implementations§
Source§impl Clone for apr_hdtr_t
impl Clone for apr_hdtr_t
Source§fn clone(&self) -> apr_hdtr_t
fn clone(&self) -> apr_hdtr_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for apr_hdtr_t
impl Debug for apr_hdtr_t
impl Copy for apr_hdtr_t
Auto Trait Implementations§
impl Freeze for apr_hdtr_t
impl RefUnwindSafe for apr_hdtr_t
impl !Send for apr_hdtr_t
impl !Sync for apr_hdtr_t
impl Unpin for apr_hdtr_t
impl UnsafeUnpin for apr_hdtr_t
impl UnwindSafe for apr_hdtr_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more