pub struct Resolution<P, V> {
pub profile: P,
pub version: V,
pub echoed: bool,
}Expand description
What a protocol answered to a declaration.
Fields§
§profile: PWhat this session may now do, in the protocol’s own type.
version: VThe version the session speaks, in the protocol’s own type.
echoed: boolWhether the peer asked for this version and got it, or was answered with a different one.
Trait Implementations§
impl<P: Copy, V: Copy> Copy for Resolution<P, V>
impl<P: Eq, V: Eq> Eq for Resolution<P, V>
impl<P: PartialEq, V: PartialEq> StructuralPartialEq for Resolution<P, V>
Auto Trait Implementations§
impl<P, V> Freeze for Resolution<P, V>
impl<P, V> RefUnwindSafe for Resolution<P, V>where
P: RefUnwindSafe,
V: RefUnwindSafe,
impl<P, V> Send for Resolution<P, V>
impl<P, V> Sync for Resolution<P, V>
impl<P, V> Unpin for Resolution<P, V>
impl<P, V> UnsafeUnpin for Resolution<P, V>where
P: UnsafeUnpin,
V: UnsafeUnpin,
impl<P, V> UnwindSafe for Resolution<P, V>where
P: UnwindSafe,
V: UnwindSafe,
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