pub enum QueryResponse {
Show 19 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>),
}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>)
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 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