Struct librespot_protocol::keyexchange::PoWChallengeUnion [−][src]
pub struct PoWChallengeUnion { pub unknown_fields: UnknownFields, pub cached_size: CachedSize, // some fields omitted }
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl PoWChallengeUnion
[src]
impl PoWChallengeUnion
[src]pub fn new() -> PoWChallengeUnion
[src]
pub fn get_hash_cash(&self) -> &PoWHashCashChallenge
[src]
pub fn clear_hash_cash(&mut self)
[src]
pub fn has_hash_cash(&self) -> bool
[src]
pub fn set_hash_cash(&mut self, v: PoWHashCashChallenge)
[src]
pub fn mut_hash_cash(&mut self) -> &mut PoWHashCashChallenge
[src]
pub fn take_hash_cash(&mut self) -> PoWHashCashChallenge
[src]
Trait Implementations
impl Clear for PoWChallengeUnion
[src]
impl Clear for PoWChallengeUnion
[src]impl Clone for PoWChallengeUnion
[src]
impl Clone for PoWChallengeUnion
[src]fn clone(&self) -> PoWChallengeUnion
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for PoWChallengeUnion
[src]
impl Default for PoWChallengeUnion
[src]fn default() -> PoWChallengeUnion
[src]
impl<'a> Default for &'a PoWChallengeUnion
[src]
impl<'a> Default for &'a PoWChallengeUnion
[src]fn default() -> &'a PoWChallengeUnion
[src]
impl Message for PoWChallengeUnion
[src]
impl Message for PoWChallengeUnion
[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() -> PoWChallengeUnion
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static PoWChallengeUnion
[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<PoWChallengeUnion> for PoWChallengeUnion
[src]
impl PartialEq<PoWChallengeUnion> for PoWChallengeUnion
[src]fn eq(&self, other: &PoWChallengeUnion) -> bool
[src]
fn ne(&self, other: &PoWChallengeUnion) -> bool
[src]
impl ProtobufValue for PoWChallengeUnion
[src]
impl ProtobufValue for PoWChallengeUnion
[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 PoWChallengeUnion
impl RefUnwindSafe for PoWChallengeUnion
impl Send for PoWChallengeUnion
impl Send for PoWChallengeUnion
impl Sync for PoWChallengeUnion
impl Sync for PoWChallengeUnion
impl Unpin for PoWChallengeUnion
impl Unpin for PoWChallengeUnion
impl UnwindSafe for PoWChallengeUnion
impl UnwindSafe for PoWChallengeUnion