Struct gnunet_sys::GNUNET_HELLO_Address [−][src]
An address for communicating with a peer. We frequently need this tuple and the components cannot really be separated. This is NOT the format that would be used on the wire.
Fields
peer: GNUNET_PeerIdentity
For which peer is this an address?
transport_name: *const c_char
Name of the transport plugin enabling the communication using this address.
address: *const c_void
Binary representation of the address (plugin-specific).
address_length: usize
Number of bytes in @e address.
local_info: GNUNET_HELLO_AddressInfo
Extended information about address
This field contains additional #GNUNET_HELLO_AddressInfo flags e.g. to indicate an address is inbound and cannot be used to initiate an outbound connection.
These information are only valid for the local peer and are not serialized when a #GNUNET_HELLO_Message is created
Trait Implementations
impl Clone for GNUNET_HELLO_Address
[src]
fn clone(&self) -> GNUNET_HELLO_Address
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GNUNET_HELLO_Address
[src]
impl Debug for GNUNET_HELLO_Address
[src]
Auto Trait Implementations
impl RefUnwindSafe for GNUNET_HELLO_Address
impl !Send for GNUNET_HELLO_Address
impl !Sync for GNUNET_HELLO_Address
impl Unpin for GNUNET_HELLO_Address
impl UnwindSafe for GNUNET_HELLO_Address
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>,