Struct domain::rdata::dnssec::RtypeBitmapBuilder
source · pub struct RtypeBitmapBuilder<Builder> { /* private fields */ }
Expand description
A builder for a record type bitmap.
Implementations§
source§impl<Builder: OctetsBuilder> RtypeBitmapBuilder<Builder>
impl<Builder: OctetsBuilder> RtypeBitmapBuilder<Builder>
pub fn new() -> Selfwhere
Builder: EmptyBuilder,
pub fn with_builder(builder: Builder) -> Self
source§impl<Builder> RtypeBitmapBuilder<Builder>
impl<Builder> RtypeBitmapBuilder<Builder>
pub fn add(&mut self, rtype: Rtype) -> Result<(), Builder::AppendError>
pub fn finalize(self) -> RtypeBitmap<Builder::Octets>where
Builder: FreezeBuilder + Truncate,
Trait Implementations§
source§impl<Builder: Clone> Clone for RtypeBitmapBuilder<Builder>
impl<Builder: Clone> Clone for RtypeBitmapBuilder<Builder>
source§fn clone(&self) -> RtypeBitmapBuilder<Builder>
fn clone(&self) -> RtypeBitmapBuilder<Builder>
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<Builder: Debug> Debug for RtypeBitmapBuilder<Builder>
impl<Builder: Debug> Debug for RtypeBitmapBuilder<Builder>
source§impl<Builder> Default for RtypeBitmapBuilder<Builder>where
Builder: OctetsBuilder + EmptyBuilder,
impl<Builder> Default for RtypeBitmapBuilder<Builder>where
Builder: OctetsBuilder + EmptyBuilder,
Auto Trait Implementations§
impl<Builder> Freeze for RtypeBitmapBuilder<Builder>where
Builder: Freeze,
impl<Builder> RefUnwindSafe for RtypeBitmapBuilder<Builder>where
Builder: RefUnwindSafe,
impl<Builder> Send for RtypeBitmapBuilder<Builder>where
Builder: Send,
impl<Builder> Sync for RtypeBitmapBuilder<Builder>where
Builder: Sync,
impl<Builder> Unpin for RtypeBitmapBuilder<Builder>where
Builder: Unpin,
impl<Builder> UnwindSafe for RtypeBitmapBuilder<Builder>where
Builder: UnwindSafe,
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) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.