pub struct PullHello {
pub version: u32,
pub agent: Option<String>,
}Expand description
The first message of a pull client.
Fields§
§version: u32The highest pull protocol version that the client speaks.
agent: Option<String>The name and version of the client, under the key agent.
Trait Implementations§
impl Eq for PullHello
impl StructuralPartialEq for PullHello
Auto Trait Implementations§
impl Forget for PullHello
impl Freeze for PullHello
impl Move for PullHello
impl RefUnwindSafe for PullHello
impl Send for PullHellowhere
RawVecInner: Send,
impl Sync for PullHellowhere
RawVecInner: Sync,
impl Unpin for PullHello
impl UnsafeUnpin for PullHello
impl UnwindSafe for PullHellowhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.