pub enum QueryResponse {
Show 34 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>),
RuntimeConfigList(Vec<RuntimeConfigEntry>),
RuntimeConfigEntry(Option<RuntimeConfigEntry>),
RuntimeConfigSet(Result<RuntimeConfigEntry, RuntimeConfigError>),
RuntimeConfigReset(Result<RuntimeConfigEntry, RuntimeConfigError>),
BackbonePeerState(Vec<BackbonePeerStateEntry>),
BackboneInterfaces(Vec<BackboneInterfaceEntry>),
ProviderBridgeStats(Option<ProviderBridgeStats>),
DrainStatus(DrainStatus),
ClearBackbonePeerState(bool),
BlacklistBackbonePeer(bool),
}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.
RuntimeConfigList(Vec<RuntimeConfigEntry>)
Runtime-config entries currently supported by the daemon.
RuntimeConfigEntry(Option<RuntimeConfigEntry>)
A specific runtime-config entry, or None if the key is unknown.
RuntimeConfigSet(Result<RuntimeConfigEntry, RuntimeConfigError>)
Result of setting a runtime-config value.
RuntimeConfigReset(Result<RuntimeConfigEntry, RuntimeConfigError>)
Result of resetting a runtime-config value.
BackbonePeerState(Vec<BackbonePeerStateEntry>)
Live backbone peer state entries.
BackboneInterfaces(Vec<BackboneInterfaceEntry>)
Registered backbone server interfaces.
ProviderBridgeStats(Option<ProviderBridgeStats>)
Live provider-bridge queue/drop state if enabled.
DrainStatus(DrainStatus)
Current lifecycle/drain status.
ClearBackbonePeerState(bool)
Result of clearing one backbone peer state entry.
BlacklistBackbonePeer(bool)
Result of blacklisting a backbone peer.
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