Struct libnghttp2_sys::nghttp2_info [−][src]
@struct
This struct is what nghttp2_version()
returns. It holds
information about the particular nghttp2 version.
Fields
age: c_int
Age of this struct. This instance of nghttp2 sets it to
:macro:NGHTTP2_VERSION_AGE
but a future version may bump it and
add more struct fields at the bottom
version_num: c_int
the :macro:NGHTTP2_VERSION_NUM
number (since age ==1)
version_str: *const c_char
points to the :macro:NGHTTP2_VERSION
string (since age ==1)
proto_str: *const c_char
points to the :macro:NGHTTP2_PROTO_VERSION_ID
string this
instance implements (since age ==1)
Trait Implementations
impl Clone for nghttp2_info
[src]
fn clone(&self) -> nghttp2_info
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for nghttp2_info
[src]
impl Debug for nghttp2_info
[src]
Auto Trait Implementations
impl RefUnwindSafe for nghttp2_info
impl !Send for nghttp2_info
impl !Sync for nghttp2_info
impl Unpin for nghttp2_info
impl UnwindSafe for nghttp2_info
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,