Struct netidx_netproto::resolver::Resolved
source · pub struct Resolved {
pub resolver: SocketAddr,
pub publishers: Pooled<Vec<PublisherRef>>,
pub timestamp: u64,
pub flags: u32,
pub permissions: u32,
}
Fields§
§resolver: SocketAddr
§publishers: Pooled<Vec<PublisherRef>>
§timestamp: u64
§flags: u32
§permissions: u32
Trait Implementations§
source§impl Pack for Resolved
impl Pack for Resolved
fn encoded_len(&self) -> usize
fn encode(&self, buf: &mut impl BufMut) -> Result<(), PackError>
fn decode(buf: &mut impl Buf) -> Result<Self, PackError>
fn const_encoded_len() -> Option<usize>
fn decode_into(&mut self, buf: &mut impl Buf) -> Result<(), PackError>where
Self: Sized,
source§impl PartialEq for Resolved
impl PartialEq for Resolved
impl Eq for Resolved
impl StructuralPartialEq for Resolved
Auto Trait Implementations§
impl Freeze for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnwindSafe for Resolved
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.