Struct xstack_kad::GetValue
source · pub struct GetValue {
pub closer_peers: Vec<PeerInfo>,
pub value: Option<Vec<u8>>,
}
Expand description
Returns by kad_get_value
Fields§
§closer_peers: Vec<PeerInfo>
Closer peers to the provider key.
value: Option<Vec<u8>>
Record value.
Auto Trait Implementations§
impl Freeze for GetValue
impl RefUnwindSafe for GetValue
impl Send for GetValue
impl Sync for GetValue
impl Unpin for GetValue
impl UnwindSafe for GetValue
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