Struct librespot_protocol::keyexchange::PoWHashCashChallenge[][src]

pub struct PoWHashCashChallenge {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted


unknown_fields: UnknownFieldscached_size: CachedSize


impl PoWHashCashChallenge[src]

pub fn new() -> PoWHashCashChallenge[src]

pub fn get_prefix(&self) -> &[u8][src]

pub fn clear_prefix(&mut self)[src]

pub fn has_prefix(&self) -> bool[src]

pub fn set_prefix(&mut self, v: Vec<u8>)[src]

pub fn mut_prefix(&mut self) -> &mut Vec<u8>[src]

pub fn take_prefix(&mut self) -> Vec<u8>[src]

pub fn get_length(&self) -> i32[src]

pub fn clear_length(&mut self)[src]

pub fn has_length(&self) -> bool[src]

pub fn set_length(&mut self, v: i32)[src]

pub fn get_target(&self) -> i32[src]

pub fn clear_target(&mut self)[src]

pub fn has_target(&self) -> bool[src]

pub fn set_target(&mut self, v: i32)[src]

Trait Implementations

impl Clear for PoWHashCashChallenge[src]

impl Clone for PoWHashCashChallenge[src]

impl Debug for PoWHashCashChallenge[src]

impl Default for PoWHashCashChallenge[src]

impl<'a> Default for &'a PoWHashCashChallenge[src]

impl Message for PoWHashCashChallenge[src]

impl PartialEq<PoWHashCashChallenge> for PoWHashCashChallenge[src]

impl ProtobufValue for PoWHashCashChallenge[src]

impl StructuralPartialEq for PoWHashCashChallenge[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.