pub struct MountInterchangeGate<A, G>where
A: HyperAuthenticator,
G: HyperGreeter,{ /* private fields */ }Implementations§
Source§impl<A, G> MountInterchangeGate<A, G>where
A: HyperAuthenticator,
G: HyperGreeter,
impl<A, G> MountInterchangeGate<A, G>where
A: HyperAuthenticator,
G: HyperGreeter,
pub fn new( auth: A, greeter: G, interchange: Arc<HyperwayInterchange>, logger: PointLogger, ) -> Self
Trait Implementations§
Source§impl<A, G> Clone for MountInterchangeGate<A, G>
impl<A, G> Clone for MountInterchangeGate<A, G>
Source§fn clone(&self) -> MountInterchangeGate<A, G>
fn clone(&self) -> MountInterchangeGate<A, G>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<A, G> HyperGate for MountInterchangeGate<A, G>where
A: HyperAuthenticator,
G: HyperGreeter,
impl<A, G> HyperGate for MountInterchangeGate<A, G>where
A: HyperAuthenticator,
G: HyperGreeter,
fn knock<'life0, 'async_trait>(
&'life0 self,
knock: Knock,
) -> Pin<Box<dyn Future<Output = Result<HyperwayEndpoint, SpaceErr>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn jump<'life0, 'async_trait>(
&'life0 self,
_kind: InterchangeKind,
stub: HyperwayStub,
) -> Pin<Box<dyn Future<Output = Result<HyperwayEndpoint, SpaceErr>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<A, G> Freeze for MountInterchangeGate<A, G>
impl<A, G> !RefUnwindSafe for MountInterchangeGate<A, G>
impl<A, G> Send for MountInterchangeGate<A, G>
impl<A, G> Sync for MountInterchangeGate<A, G>
impl<A, G> Unpin for MountInterchangeGate<A, G>
impl<A, G> !UnwindSafe for MountInterchangeGate<A, G>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
Source§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
Source§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
Source§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more