Struct gnunet_sys::PingMessage [−][src]
We’re sending an (encrypted) PING to the other peer to check if it can decrypt. The other peer should respond with a PONG with the same content, except this time encrypted with the receiver’s key.
Fields
header: GNUNET_MessageHeader
Message type is #GNUNET_MESSAGE_TYPE_CORE_PING.
iv_seed: u32
Seed for the IV
target: GNUNET_PeerIdentity
Intended target of the PING, used primarily to check that decryption actually worked.
challenge: u32
Random number chosen to make replay harder.
Trait Implementations
impl Clone for PingMessage
[src]
fn clone(&self) -> PingMessage
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PingMessage
[src]
impl Debug for PingMessage
[src]
Auto Trait Implementations
impl RefUnwindSafe for PingMessage
impl Send for PingMessage
impl Sync for PingMessage
impl Unpin for PingMessage
impl UnwindSafe for PingMessage
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>,