pub struct RnsRpcReply(/* private fields */);Implementations§
Source§impl RnsRpcReply
impl RnsRpcReply
pub fn first_hop_timeout() -> RnsRpcReply
pub fn packet_rssi(stats: Option<PacketPhyStats>) -> RnsRpcReply
pub fn packet_snr(stats: Option<PacketPhyStats>) -> RnsRpcReply
pub fn packet_quality(stats: Option<PacketPhyStats>) -> RnsRpcReply
pub fn blackholed_identities<Reason, Entries>( outcome: RpcOperationOutcome<Entries>, ) -> RnsRpcReply
pub const fn is_blackholed(outcome: RpcOperationOutcome<bool>) -> RnsRpcReply
pub const fn drop_path( outcome: RpcOperationOutcome<DropRouteOutcome>, ) -> RnsRpcReply
pub fn drop_all_via( outcome: RpcOperationOutcome<DropRoutesViaOutcome>, ) -> RnsRpcReply
pub const fn drop_announce_queues() -> RnsRpcReply
pub const fn blackhole_identity( outcome: RpcOperationOutcome<BlackholeIdentityOutcome>, ) -> RnsRpcReply
pub const fn unblackhole_identity( outcome: RpcOperationOutcome<UnblackholeIdentityOutcome>, ) -> RnsRpcReply
pub const fn mark_destination_used( outcome: RpcOperationOutcome<MarkDestinationUsedOutcome>, ) -> RnsRpcReply
pub const fn retain_destination( outcome: RpcOperationOutcome<RetainDestinationOutcome>, ) -> RnsRpcReply
pub const fn release_destination( outcome: RpcOperationOutcome<ReleaseDestinationOutcome>, ) -> RnsRpcReply
pub const fn retain_identity( outcome: RpcOperationOutcome<RetainIdentityOutcome>, ) -> RnsRpcReply
Source§impl RnsRpcReply
impl RnsRpcReply
pub const fn none() -> RnsRpcReply
pub const fn boolean(value: bool) -> RnsRpcReply
pub const fn integer(value: i64) -> RnsRpcReply
pub const fn float(value: f64) -> RnsRpcReply
pub fn next_hop(route: Option<RouteSnapshot>) -> RnsRpcReply
pub fn next_hop_interface_name(route: Option<RouteSnapshot>) -> RnsRpcReply
pub fn path_table( entries: Vec<RouteSnapshot>, maximum_hops: Option<&RnsInteger>, ) -> RnsRpcReply
pub fn announce_rate_table(table: RnsAnnounceRateTable) -> RnsRpcReply
pub fn interface_stats(stats: RnsInterfaceStats) -> RnsRpcReply
pub fn empty_blackhole_table() -> RnsRpcReply
pub fn encode( &self, dialect: RpcDialect, ) -> Result<Vec<u8>, RnsRpcReplyEncodeError>
Trait Implementations§
Source§impl Clone for RnsRpcReply
impl Clone for RnsRpcReply
Source§fn clone(&self) -> RnsRpcReply
fn clone(&self) -> RnsRpcReply
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RnsRpcReply
impl Debug for RnsRpcReply
Source§impl PartialEq for RnsRpcReply
impl PartialEq for RnsRpcReply
impl StructuralPartialEq for RnsRpcReply
Auto Trait Implementations§
impl Freeze for RnsRpcReply
impl RefUnwindSafe for RnsRpcReply
impl Send for RnsRpcReply
impl Sync for RnsRpcReply
impl Unpin for RnsRpcReply
impl UnsafeUnpin for RnsRpcReply
impl UnwindSafe for RnsRpcReply
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