Type Alias PresharedKeyBinder
Source pub type PresharedKeyBinder = PayloadU8;
struct PresharedKeyBinder(pub Vec<u8>);
Implementations
Trait Implementations
Performs copy-assignment from
source
.
Read more
Encode yourself by appending onto bytes
.
Decode yourself by fiddling with the Reader
.
Return Some if it worked, None if not.
Convenience function to get the results of encode()
.
Read one of these from the front of bytes
and
return it.
Formats the value using the given formatter.
Read more
Converts to this type from the input type.
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.