[−][src]Struct rpki::manifest::ManifestContentBuilder
Methods
impl ManifestContentBuilder
[src]
pub fn new(
manifest_number: u128,
this_update: Time,
next_update: Time,
file_hash_alg: DigestAlgorithm
) -> Self
[src]
manifest_number: u128,
this_update: Time,
next_update: Time,
file_hash_alg: DigestAlgorithm
) -> Self
pub fn push(&mut self, item: &FileAndHash)
[src]
pub fn push_pair<D: AsRef<[u8]>>(&mut self, file: &[u8], hash: &D)
[src]
pub fn encode(self) -> impl Values
[src]
Trait Implementations
impl AsMut<ManifestContentBuilder> for ManifestBuilder
[src]
fn as_mut(&mut self) -> &mut ManifestContentBuilder
[src]
impl AsRef<ManifestContentBuilder> for ManifestBuilder
[src]
fn as_ref(&self) -> &ManifestContentBuilder
[src]
impl Clone for ManifestContentBuilder
[src]
fn clone(&self) -> ManifestContentBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ManifestContentBuilder
[src]
Auto Trait Implementations
impl Send for ManifestContentBuilder
impl Sync for ManifestContentBuilder
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,