pub enum AutoTransport<'a> {
SharedMemory(SharedMemoryTransport<'a>),
Quic(QuicTransport),
}Expand description
Transport that selects shared memory when co-located and QUIC when remote.
Wraps either a SharedMemoryTransport or a QuicTransport behind
the RpcTransport trait.
Variants§
Quic(QuicTransport)
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for AutoTransport<'a>
impl<'a> !RefUnwindSafe for AutoTransport<'a>
impl<'a> !Send for AutoTransport<'a>
impl<'a> !Sync for AutoTransport<'a>
impl<'a> Unpin for AutoTransport<'a>
impl<'a> !UnwindSafe for AutoTransport<'a>
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