[−][src]Struct krill::commons::api::RepoInfo
Implementations
impl RepoInfo
[src]
pub fn new(base_uri: Rsync, rpki_notify: Https) -> Self
[src]
pub fn base_uri(&self) -> &Rsync
[src]
pub fn ca_repository(&self, name_space: &str) -> Rsync
[src]
Returns the ca repository uri for this RepoInfo and a given namespace. If the namespace is an empty str, it is omitted from the path.
pub fn rpki_manifest(
&self,
name_space: &str,
signing_key: &KeyIdentifier
) -> Rsync
[src]
&self,
name_space: &str,
signing_key: &KeyIdentifier
) -> Rsync
Returns the rpki manifest uri for this RepoInfo and a given namespace. If the namespace is an empty str, it is omitted from the path.
pub fn crl_distribution_point(
&self,
name_space: &str,
signing_key: &KeyIdentifier
) -> Rsync
[src]
&self,
name_space: &str,
signing_key: &KeyIdentifier
) -> Rsync
Returns the CRL Distribution Point (rsync URI) for this RepoInfo, given the namespace and signing key.
pub fn rpki_notify(&self) -> Https
[src]
Returns the rpki notify uri. (Note that this is the same for all namespaces).
pub fn resolve(&self, name_space: &str, file_name: &str) -> Rsync
[src]
pub fn mft_name(signing_key: &KeyIdentifier) -> ObjectName
[src]
pub fn crl_name(signing_key: &KeyIdentifier) -> ObjectName
[src]
Trait Implementations
impl Clone for RepoInfo
[src]
impl Debug for RepoInfo
[src]
impl<'de> Deserialize<'de> for RepoInfo
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for RepoInfo
[src]
impl PartialEq<RepoInfo> for RepoInfo
[src]
impl Serialize for RepoInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for RepoInfo
impl Send for RepoInfo
impl Sync for RepoInfo
impl Unpin for RepoInfo
impl UnwindSafe for RepoInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,