Struct librespot_protocol::keyexchange::PoWHashCashChallenge [−][src]
pub struct PoWHashCashChallenge { pub unknown_fields: UnknownFields, pub cached_size: CachedSize, // some fields omitted }
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl PoWHashCashChallenge
[src]
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 Clear for PoWHashCashChallenge
[src]impl Clone for PoWHashCashChallenge
[src]
impl Clone for PoWHashCashChallenge
[src]fn clone(&self) -> PoWHashCashChallenge
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for PoWHashCashChallenge
[src]
impl Default for PoWHashCashChallenge
[src]fn default() -> PoWHashCashChallenge
[src]
impl<'a> Default for &'a PoWHashCashChallenge
[src]
impl<'a> Default for &'a PoWHashCashChallenge
[src]fn default() -> &'a PoWHashCashChallenge
[src]
impl Message for PoWHashCashChallenge
[src]
impl Message for PoWHashCashChallenge
[src]fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> PoWHashCashChallenge
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static PoWHashCashChallenge
[src]
pub fn write_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
pub fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
pub fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
pub fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
pub fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]
pub fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]
pub fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]
&self
) -> Result<Vec<u8, Global>, ProtobufError>
pub fn type_id(&self) -> TypeId
[src]
impl PartialEq<PoWHashCashChallenge> for PoWHashCashChallenge
[src]
impl PartialEq<PoWHashCashChallenge> for PoWHashCashChallenge
[src]fn eq(&self, other: &PoWHashCashChallenge) -> bool
[src]
fn ne(&self, other: &PoWHashCashChallenge) -> bool
[src]
impl ProtobufValue for PoWHashCashChallenge
[src]
impl ProtobufValue for PoWHashCashChallenge
[src]fn as_ref(&self) -> ReflectValueRef<'_>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn is_non_zero(&self) -> bool
[src]
pub fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
Auto Trait Implementations
impl RefUnwindSafe for PoWHashCashChallenge
impl RefUnwindSafe for PoWHashCashChallenge
impl Send for PoWHashCashChallenge
impl Send for PoWHashCashChallenge
impl Sync for PoWHashCashChallenge
impl Sync for PoWHashCashChallenge
impl Unpin for PoWHashCashChallenge
impl Unpin for PoWHashCashChallenge
impl UnwindSafe for PoWHashCashChallenge
impl UnwindSafe for PoWHashCashChallenge