pub struct NdncertCaBuilder { /* private fields */ }Expand description
Builder for NdncertCa.
Implementations§
Source§impl NdncertCaBuilder
impl NdncertCaBuilder
pub fn name(self, prefix: impl AsRef<str>) -> Result<Self, IdentityError>
pub fn info(self, info: impl Into<String>) -> Self
pub fn signing_identity(self, identity: &NdnIdentity) -> Self
pub fn challenge(self, handler: impl ChallengeHandler + 'static) -> Self
pub fn policy(self, policy: impl NamespacePolicy + 'static) -> Self
pub fn cert_lifetime(self, d: Duration) -> Self
pub fn max_cert_lifetime(self, d: Duration) -> Self
pub fn build(self) -> Result<NdncertCa, IdentityError>
Auto Trait Implementations§
impl !Freeze for NdncertCaBuilder
impl !RefUnwindSafe for NdncertCaBuilder
impl Send for NdncertCaBuilder
impl Sync for NdncertCaBuilder
impl Unpin for NdncertCaBuilder
impl !UnwindSafe for NdncertCaBuilder
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