pub struct ServerChallenge(pub u64);Tuple Fields§
§0: u64Implementations§
Source§impl ServerChallenge
impl ServerChallenge
pub fn new(value: u64) -> Self
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
pub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
Trait Implementations§
Source§impl Clone for ServerChallenge
impl Clone for ServerChallenge
Source§fn clone(&self) -> ServerChallenge
fn clone(&self) -> ServerChallenge
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerChallenge
impl Debug for ServerChallenge
Source§impl Display for ServerChallenge
impl Display for ServerChallenge
Source§impl PartialEq for ServerChallenge
impl PartialEq for ServerChallenge
impl Copy for ServerChallenge
impl StructuralPartialEq for ServerChallenge
Auto Trait Implementations§
impl Freeze for ServerChallenge
impl RefUnwindSafe for ServerChallenge
impl Send for ServerChallenge
impl Sync for ServerChallenge
impl Unpin for ServerChallenge
impl UnwindSafe for ServerChallenge
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