pub struct DeltaElements { /* private fields */ }Expand description
Defines the elements for an RRDP delta.
Implementations§
Source§impl DeltaElements
impl DeltaElements
pub fn unwrap( self, ) -> (Vec<PublishElement>, Vec<UpdateElement>, Vec<WithdrawElement>)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn publishes(&self) -> &Vec<PublishElement>
pub fn updates(&self) -> &Vec<UpdateElement>
pub fn withdraws(&self) -> &Vec<WithdrawElement>
Trait Implementations§
Source§impl Clone for DeltaElements
impl Clone for DeltaElements
Source§fn clone(&self) -> DeltaElements
fn clone(&self) -> DeltaElements
Returns a duplicate 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 DeltaElements
impl Debug for DeltaElements
Source§impl PartialEq for DeltaElements
impl PartialEq for DeltaElements
impl Eq for DeltaElements
Auto Trait Implementations§
impl Freeze for DeltaElements
impl RefUnwindSafe for DeltaElements
impl Send for DeltaElements
impl Sync for DeltaElements
impl Unpin for DeltaElements
impl UnwindSafe for DeltaElements
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