pub enum QueryResponse {
Show 24 variants
InterfaceStats(InterfaceStatsResponse),
PathTable(Vec<PathTableEntry>),
RateTable(Vec<RateTableEntry>),
NextHop(Option<NextHopResponse>),
NextHopIfName(Option<String>),
LinkCount(usize),
DropPath(bool),
DropAllVia(usize),
DropAnnounceQueues,
TransportIdentity(Option<[u8; 16]>),
Blackholed(Vec<BlackholeInfo>),
BlackholeResult(bool),
UnblackholeResult(bool),
HasPath(bool),
HopsTo(Option<u8>),
RecallIdentity(Option<AnnouncedIdentity>),
LocalDestinations(Vec<LocalDestinationEntry>),
Links(Vec<LinkInfoEntry>),
Resources(Vec<ResourceInfoEntry>),
InjectPath(bool),
InjectIdentity(bool),
DiscoveredInterfaces(Vec<DiscoveredInterface>),
SendProbe(Option<([u8; 32], u8)>),
CheckProof(Option<f64>),
}Expand description
Responses to queries.
Variants§
InterfaceStats(InterfaceStatsResponse)
PathTable(Vec<PathTableEntry>)
RateTable(Vec<RateTableEntry>)
NextHop(Option<NextHopResponse>)
NextHopIfName(Option<String>)
LinkCount(usize)
DropPath(bool)
DropAllVia(usize)
DropAnnounceQueues
TransportIdentity(Option<[u8; 16]>)
Blackholed(Vec<BlackholeInfo>)
BlackholeResult(bool)
UnblackholeResult(bool)
HasPath(bool)
HopsTo(Option<u8>)
RecallIdentity(Option<AnnouncedIdentity>)
LocalDestinations(Vec<LocalDestinationEntry>)
Links(Vec<LinkInfoEntry>)
Resources(Vec<ResourceInfoEntry>)
InjectPath(bool)
InjectIdentity(bool)
DiscoveredInterfaces(Vec<DiscoveredInterface>)
List of discovered interfaces.
SendProbe(Option<([u8; 32], u8)>)
Probe sent: (packet_hash, hops) or None if identity unknown.
CheckProof(Option<f64>)
Proof check: RTT if received, None if still pending.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryResponse
impl RefUnwindSafe for QueryResponse
impl Send for QueryResponse
impl Sync for QueryResponse
impl Unpin for QueryResponse
impl UnsafeUnpin for QueryResponse
impl UnwindSafe for QueryResponse
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<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more