Struct tide_lambda_listener::LambdaListener [−][src]
pub struct LambdaListener<State> { /* fields omitted */ }
Expand description
This represents a tide Listener connected to an AWS Lambda execution environment.
Implementations
impl<State> LambdaListener<State>
[src]
impl<State> LambdaListener<State>
[src]Trait Implementations
impl<State> Debug for LambdaListener<State>
[src]
impl<State> Debug for LambdaListener<State>
[src]impl<State> Display for LambdaListener<State>
[src]
impl<State> Display for LambdaListener<State>
[src]impl<State> Listener<State> for LambdaListener<State> where
State: Clone + Send + Sync + 'static,
[src]
impl<State> Listener<State> for LambdaListener<State> where
State: Clone + Send + Sync + 'static,
[src]fn bind<'life0, 'async_trait>(
&'life0 mut self,
server: Server<State>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn bind<'life0, 'async_trait>(
&'life0 mut self,
server: Server<State>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Bind the listener. This starts the listening process by opening the
necessary network ports, but not yet accepting incoming connections. This
method must be called before accept
. Read more
fn accept<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
fn accept<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Start accepting incoming connections. This method must be called only
after bind
has succeeded. Read more
fn info(&self) -> Vec<ListenInfo>
[src]
fn info(&self) -> Vec<ListenInfo>
[src]Expose information about the connection. This should always return valid
data after bind
has succeeded. Read more
impl<State: Clone + Send + Sync + 'static> ToListener<State> for LambdaListener<State>
[src]
impl<State: Clone + Send + Sync + 'static> ToListener<State> for LambdaListener<State>
[src]type Listener = LambdaListener<State>
type Listener = LambdaListener<State>
What listener are we converting into?
fn to_listener(self) -> Result<Self::Listener>
[src]
fn to_listener(self) -> Result<Self::Listener>
[src]Auto Trait Implementations
impl<State> !RefUnwindSafe for LambdaListener<State>
impl<State> Send for LambdaListener<State> where
State: Send,
State: Send,
impl<State> Sync for LambdaListener<State> where
State: Sync,
State: Sync,
impl<State> Unpin for LambdaListener<State> where
State: Unpin,
State: Unpin,
impl<State> !UnwindSafe for LambdaListener<State>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,