pub struct NormalRadixNode { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for NormalRadixNode
impl Default for NormalRadixNode
Source§impl Node for NormalRadixNode
impl Node for NormalRadixNode
fn left(&self) -> Option<Arc<dyn Node>>
fn right(&self) -> Option<Arc<dyn Node>>
fn metadata(&self) -> Option<Metadata>
fn prefix(&self) -> Option<IpNetwork>
fn set_left(&self, node: Option<Arc<dyn Node>>)
fn set_right(&self, node: Option<Arc<dyn Node>>)
fn set_metadata(&self, metadata: Metadata)
fn clear_metadata(&self)
fn set_prefix(&self, prefix: IpNetwork)
Source§fn edge_bits(&self) -> Option<[u8; 16]>
fn edge_bits(&self) -> Option<[u8; 16]>
Returns the edge bit-string for Patricia trie nodes.
Uncompressed nodes always return
None.Auto Trait Implementations§
impl !Freeze for NormalRadixNode
impl Forget for NormalRadixNode
impl Move for NormalRadixNode
impl RefUnwindSafe for NormalRadixNode
impl Send for NormalRadixNode
impl Sync for NormalRadixNode
impl Unpin for NormalRadixNode
impl UnsafeUnpin for NormalRadixNode
impl UnwindSafe for NormalRadixNode
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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