Struct gnunet_sys::GNUNET_HELLO_Message [−][src]
A HELLO message is used to exchange information about transports with other peers. This struct is always followed by the actual network addresses which have the format:
- transport-name (0-terminated)
- address-length (uint16_t, network byte order; possibly unaligned!)
- address expiration (
struct GNUNET_TIME_AbsoluteNBO
); possibly unaligned!) - address (address-length bytes; possibly unaligned!)
Fields
header: GNUNET_MessageHeader
Type will be #GNUNET_MESSAGE_TYPE_HELLO.
friend_only: u32
Use in F2F mode: Do not gossip this HELLO message
publicKey: GNUNET_CRYPTO_EddsaPublicKey
The public key of the peer.
Trait Implementations
impl Clone for GNUNET_HELLO_Message
[src]
fn clone(&self) -> GNUNET_HELLO_Message
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GNUNET_HELLO_Message
[src]
impl Debug for GNUNET_HELLO_Message
[src]
Auto Trait Implementations
impl RefUnwindSafe for GNUNET_HELLO_Message
impl Send for GNUNET_HELLO_Message
impl Sync for GNUNET_HELLO_Message
impl Unpin for GNUNET_HELLO_Message
impl UnwindSafe for GNUNET_HELLO_Message
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>,