pub struct FullHttpsTransportServer { /* private fields */ }Trait Implementations§
Source§impl TransportServer for FullHttpsTransportServer
impl TransportServer for FullHttpsTransportServer
fn get_address(&self) -> &String
Source§fn get_transport_ownership_proof(&self) -> Arc<dyn TransportOwnershipProof>
fn get_transport_ownership_proof(&self) -> Arc<dyn TransportOwnershipProof>
Returns the per-transport ownership-proof object used to (a) produce the proof bytes
embedded in this server’s outbound
AnnounceV2 requests and (b) verify proof bytes
received from peers in inbound AnnounceV2 requests. The default reject-all
implementation is overridden by transports that have a real notion of address
ownership (HTTPS via ACME cert, mem-transport via an empty marker, …).fn listen<'life0, 'async_trait>(
&'life0 self,
cancellation_token: CancellationToken,
handler: Sender<IncomingRequest>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for FullHttpsTransportServer
impl !RefUnwindSafe for FullHttpsTransportServer
impl Send for FullHttpsTransportServer
impl Sync for FullHttpsTransportServer
impl Unpin for FullHttpsTransportServer
impl UnsafeUnpin for FullHttpsTransportServer
impl !UnwindSafe for FullHttpsTransportServer
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more