pub struct Anycast {
pub depth: SplitDepth,
pub rewrite_prefix: Vec<u8>,
}Expand description
Anycast prefix info.
anycast_info$_ depth:(#<= 30) { depth >= 1 } rewrite_pfx:(bits depth) = Anycast;Fields§
§depth: SplitDepthPrefix length in bits.
rewrite_prefix: Vec<u8>Rewrite prefix data.
Implementations§
Trait Implementations§
Source§impl Ord for Anycast
impl Ord for Anycast
Source§impl PartialOrd for Anycast
impl PartialOrd for Anycast
Source§impl Store for Anycast
impl Store for Anycast
Source§fn store_into(
&self,
builder: &mut CellBuilder,
context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for Anycast
impl StructuralPartialEq for Anycast
Auto Trait Implementations§
impl Freeze for Anycast
impl RefUnwindSafe for Anycast
impl Send for Anycast
impl Sync for Anycast
impl Unpin for Anycast
impl UnwindSafe for Anycast
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.