Struct libp2p_rendezvous::server::Config
source · pub struct Config { /* private fields */ }
Implementations§
source§impl Config
impl Config
pub fn with_min_ttl(self, min_ttl: Ttl) -> Self
pub fn with_max_ttl(self, max_ttl: Ttl) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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