Struct gnunet_sys::GNUNET_TRANSPORT_SessionInfo [−][src]
Information about a plugin’s session.
Fields
state: GNUNET_TRANSPORT_SessionState
New state of the session.
is_inbound: c_int
#GNUNET_YES if this is an inbound connection, #GNUNET_NO if this is an outbound connection, #GNUNET_SYSERR if connections of this plugin are so fundamentally bidirectional that they have no ‘initiator’
num_msg_pending: u32
Number of messages pending transmission for this session.
num_bytes_pending: u32
Number of bytes pending transmission for this session.
receive_delay: GNUNET_TIME_Absolute
Until when does this plugin refuse to receive to manage staying within the inbound quota? ZERO if receive is active.
session_timeout: GNUNET_TIME_Absolute
At what time will this session timeout (unless activity happens)?
address: *const GNUNET_HELLO_Address
Address used by the session. Can be NULL if none is available.
Trait Implementations
impl Clone for GNUNET_TRANSPORT_SessionInfo
[src]
fn clone(&self) -> GNUNET_TRANSPORT_SessionInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GNUNET_TRANSPORT_SessionInfo
[src]
impl Debug for GNUNET_TRANSPORT_SessionInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for GNUNET_TRANSPORT_SessionInfo
impl !Send for GNUNET_TRANSPORT_SessionInfo
impl !Sync for GNUNET_TRANSPORT_SessionInfo
impl Unpin for GNUNET_TRANSPORT_SessionInfo
impl UnwindSafe for GNUNET_TRANSPORT_SessionInfo
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>,