pub struct Server {
pub endpoint: String,
/* private fields */
}Available on crate feature
fake only.Expand description
The server, serving until it drops.
Fields§
§endpoint: Stringhttps://127.0.0.1:<port>.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Server
impl Freeze for Server
impl Move for Server
impl RefUnwindSafe for Serverwhere
Atomic<usize>: RefUnwindSafe,
Mutex<Vec<Request>>: RefUnwindSafe,
JoinHandle<()>: RefUnwindSafe,
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnsafeUnpin for Serverwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Mutex<Vec<Request>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<Vec<Request>>>>: UnsafeUnpin,
*const Header is !null: UnsafeUnpin,
PhantomData<()>: UnsafeUnpin,
impl UnwindSafe for Server
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