pub struct BootedNode { /* private fields */ }Expand description
A fully initialized node whose HTTP / gRPC listeners are already bound.
Calling BootedNode::run opens the remaining listeners and serves them
all on the same runtime.
Implementations§
Auto Trait Implementations§
impl !Freeze for BootedNode
impl !RefUnwindSafe for BootedNode
impl !UnwindSafe for BootedNode
impl Forget for BootedNode
impl Move for BootedNode
impl Send for BootedNodewhere
RawVecInner: Send,
&'static str: Send,
Arc<RuntimeBackgroundTasks>: Send,
Arc<RuntimeInner>: Send,
Arc<AuthStore>: Send,
AtomicCell<Core>: Send,
AtomicUsize: Send,
Mutex<LinkedList<Waiter>>: Send,
Arc<Handle>: Send,
Arc<Handle>: Send,
Arc<Inner>: Send,
Arc<Inner<()>>: Send,
I32NotAllOnes: Send,
Arc<ServerConfig>: Send,
Arc<Atomic<bool>>: Send,
JoinHandle<()>: Send,
Sender<Msg>: Send,
Sender<()>: Send,
impl Sync for BootedNodewhere
RawVecInner: Sync,
Arc<RuntimeBackgroundTasks>: Sync,
Arc<RuntimeInner>: Sync,
Arc<AuthStore>: Sync,
AtomicCell<Core>: Sync,
AtomicUsize: Sync,
Mutex<LinkedList<Waiter>>: Sync,
Arc<Handle>: Sync,
Arc<Handle>: Sync,
Arc<Inner>: Sync,
Arc<Inner<()>>: Sync,
I32NotAllOnes: Sync,
Arc<ServerConfig>: Sync,
Arc<Atomic<bool>>: Sync,
JoinHandle<()>: Sync,
Sender<Msg>: Sync,
Sender<()>: Sync,
impl Unpin for BootedNodewhere
*const u8 is !null: Unpin,
&'static str: Unpin,
Arc<RuntimeBackgroundTasks>: Unpin,
Arc<RuntimeInner>: Unpin,
Arc<AuthStore>: Unpin,
Align8<*mut Core>: Unpin,
Align8<usize>: Unpin,
Align4<u32>: Unpin,
Align1<u8>: Unpin,
*const Waiter is !null: Unpin,
Arc<Handle>: Unpin,
Arc<Handle>: Unpin,
Arc<Inner>: Unpin,
Arc<Inner<()>>: Unpin,
I32NotAllOnes: Unpin,
Arc<ServerConfig>: Unpin,
Arc<Atomic<bool>>: Unpin,
Arc<Inner, System>: Unpin,
Arc<Packet<'static, ()>>: Unpin,
*mut Counter<Channel<Msg>>: Unpin,
*mut Counter<Channel<Msg>>: Unpin,
*mut Counter<Channel<Msg>>: Unpin,
*mut Counter<Channel<()>>: Unpin,
*mut Counter<Channel<()>>: Unpin,
*mut Counter<Channel<()>>: Unpin,
impl UnsafeUnpin for BootedNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
*const ArcInner<RuntimeBackgroundTasks> is !null: UnsafeUnpin,
PhantomData<ArcInner<RuntimeBackgroundTasks>>: UnsafeUnpin,
*const ArcInner<RuntimeInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<RuntimeInner>>: UnsafeUnpin,
*const ArcInner<AuthStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<AuthStore>>: UnsafeUnpin,
Align8<*mut Core>: UnsafeUnpin,
Align8<usize>: UnsafeUnpin,
Align4<u32>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
*const Waiter is !null: UnsafeUnpin,
*const ArcInner<Handle> is !null: UnsafeUnpin,
PhantomData<ArcInner<Handle>>: UnsafeUnpin,
*const ArcInner<Handle> is !null: UnsafeUnpin,
PhantomData<ArcInner<Handle>>: UnsafeUnpin,
*const ArcInner<Inner> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner>>: UnsafeUnpin,
*const ArcInner<Inner<()>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner<()>>>: UnsafeUnpin,
PhantomData<BoundTransport>: UnsafeUnpin,
PhantomData<TransportDescriptor>: UnsafeUnpin,
PhantomData<TransportListenerState>: UnsafeUnpin,
PhantomData<TransportListenerFailure>: UnsafeUnpin,
*const ArcInner<Atomic<bool>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<bool>>>: UnsafeUnpin,
*const ArcInner<Inner> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner>>: UnsafeUnpin,
*const ArcInner<Packet<'static, ()>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Packet<'static, ()>>>: UnsafeUnpin,
*mut Counter<Channel<Msg>>: UnsafeUnpin,
*mut Counter<Channel<Msg>>: UnsafeUnpin,
*mut Counter<Channel<Msg>>: UnsafeUnpin,
*mut Counter<Channel<()>>: UnsafeUnpin,
*mut Counter<Channel<()>>: UnsafeUnpin,
*mut Counter<Channel<()>>: UnsafeUnpin,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request