pub struct SearchList { /* private fields */ }
Implementations§
source§impl SearchList
impl SearchList
Trait Implementations§
source§impl AsRef<[Dname<SmallVec<[u8; 24]>>]> for SearchList
impl AsRef<[Dname<SmallVec<[u8; 24]>>]> for SearchList
source§fn as_ref(&self) -> &[SearchSuffix]
fn as_ref(&self) -> &[SearchSuffix]
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SearchList
impl Clone for SearchList
source§fn clone(&self) -> SearchList
fn clone(&self) -> SearchList
Returns a copy of the value. Read more
1.0.0 · 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 SearchList
impl Debug for SearchList
source§impl Default for SearchList
impl Default for SearchList
source§fn default() -> SearchList
fn default() -> SearchList
Returns the “default value” for a type. Read more
source§impl From<Dname<SmallVec<[u8; 24]>>> for SearchList
impl From<Dname<SmallVec<[u8; 24]>>> for SearchList
source§fn from(name: SearchSuffix) -> Self
fn from(name: SearchSuffix) -> Self
Converts to this type from the input type.
source§impl<I: SliceIndex<[SearchSuffix]>> Index<I> for SearchList
impl<I: SliceIndex<[SearchSuffix]>> Index<I> for SearchList
§type Output = <I as SliceIndex<[Dname<SmallVec<[u8; 24]>>]>>::Output
type Output = <I as SliceIndex<[Dname<SmallVec<[u8; 24]>>]>>::Output
The returned type after indexing.
source§fn index(&self, index: I) -> &<I as SliceIndex<[SearchSuffix]>>::Output
fn index(&self, index: I) -> &<I as SliceIndex<[SearchSuffix]>>::Output
Performs the indexing (
container[index]
) operation. Read moreAuto Trait Implementations§
impl RefUnwindSafe for SearchList
impl Send for SearchList
impl Sync for SearchList
impl Unpin for SearchList
impl UnwindSafe for SearchList
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<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Targetwhere
Self::Error: Into<Infallible>,
fn octets_into(self) -> Targetwhere Self::Error: Into<Infallible>,
Performs an infallible conversion.