struct InboundSubscribeAnnounces {
message: SubscribeAnnounces,
state: SubscribeAnnouncesStateMachine,
overlaps: Option<u64>,
}Expand description
A SUBSCRIBE_ANNOUNCES the peer sent, and how far the namespace subscription it opens has got.
Kept apart from subscribe_announces, which holds the ones this endpoint made: the
two are answered by opposite ends, and this one is waiting for an answer
from here.
Fields§
§message: SubscribeAnnouncesThe message as it arrived, which is what the answer is built from.
state: SubscribeAnnouncesStateMachineHow far the namespace subscription it opens has got.
overlaps: Option<u64>The namespace subscription this one overlapped when it arrived, which is when the rule about it is read.
Auto Trait Implementations§
impl Freeze for InboundSubscribeAnnounces
impl RefUnwindSafe for InboundSubscribeAnnounces
impl Send for InboundSubscribeAnnounces
impl Sync for InboundSubscribeAnnounces
impl Unpin for InboundSubscribeAnnounces
impl UnsafeUnpin for InboundSubscribeAnnounces
impl UnwindSafe for InboundSubscribeAnnounces
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