Struct rpki::repository::tal::Tal
source · pub struct Tal { /* private fields */ }
Implementations§
source§impl Tal
impl Tal
pub fn read_dir<P: AsRef<Path>>(path: P) -> Result<TalIter, Error>
pub fn read<P: AsRef<Path>, R: Read>( path: P, reader: &mut R ) -> Result<Self, ReadError>
pub fn read_named<R: Read>( name: String, reader: &mut R ) -> Result<Self, ReadError>
sourcepub fn prefer_https(&mut self)
pub fn prefer_https(&mut self)
Reorders the TAL URIs placing HTTPS URIs first.
The method keeps the order within each scheme.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Tal
impl Send for Tal
impl Sync for Tal
impl Unpin for Tal
impl UnwindSafe for Tal
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