Enum floresta_wire::node_interface::UserRequest
source · pub enum UserRequest {
Block(BlockHash),
UtreexoBlock(BlockHash),
MempoolTransaction(Txid),
GetPeerInfo,
Connect((IpAddr, u16)),
}
Variants§
Block(BlockHash)
UtreexoBlock(BlockHash)
MempoolTransaction(Txid)
GetPeerInfo
Connect((IpAddr, u16))
Trait Implementations§
source§impl Clone for UserRequest
impl Clone for UserRequest
source§fn clone(&self) -> UserRequest
fn clone(&self) -> UserRequest
Returns a copy 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 UserRequest
impl Debug for UserRequest
source§impl Hash for UserRequest
impl Hash for UserRequest
source§impl PartialEq<UserRequest> for UserRequest
impl PartialEq<UserRequest> for UserRequest
source§fn eq(&self, other: &UserRequest) -> bool
fn eq(&self, other: &UserRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UserRequest
impl Eq for UserRequest
impl StructuralEq for UserRequest
impl StructuralPartialEq for UserRequest
Auto Trait Implementations§
impl RefUnwindSafe for UserRequest
impl Send for UserRequest
impl Sync for UserRequest
impl Unpin for UserRequest
impl UnwindSafe for UserRequest
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