pub struct Server<P, T = Channel>where
T: Transport,{ /* private fields */ }
Expand description
A strongly typed server.
Implementations§
Trait Implementations§
impl<P, T> Send for Server<P, T>
Auto Trait Implementations§
impl<P, T> Freeze for Server<P, T>
impl<P, T = Channel> !RefUnwindSafe for Server<P, T>
impl<P, T> Sync for Server<P, T>where
P: Sync,
impl<P, T> Unpin for Server<P, T>where
P: Unpin,
impl<P, T = Channel> !UnwindSafe for Server<P, T>
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
Source§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T
to Self