pub struct WindowsPipeServerBuilder<T>(/* private fields */);Implementations§
Source§impl<T> WindowsPipeServerBuilder<T>
impl<T> WindowsPipeServerBuilder<T>
Source§impl<T> WindowsPipeServerBuilder<T>where
T: ServerHandler + Sync + 'static,
T::Request: DeserializeOwned + Send + Sync + 'static,
T::Response: Serialize + Send + 'static,
impl<T> WindowsPipeServerBuilder<T>where
T: ServerHandler + Sync + 'static,
T::Request: DeserializeOwned + Send + Sync + 'static,
T::Response: Serialize + Send + 'static,
Sourcepub async fn start<A>(self, addr: A) -> Result<WindowsPipeServerRef>
pub async fn start<A>(self, addr: A) -> Result<WindowsPipeServerRef>
Start a new server at the specified address using the given codec
Sourcepub async fn start_local<N>(self, name: N) -> Result<WindowsPipeServerRef>
pub async fn start_local<N>(self, name: N) -> Result<WindowsPipeServerRef>
Start a new server at the specified address via \\.\pipe\{name} using the given codec
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for WindowsPipeServerBuilder<T>where
T: Freeze,
impl<T> !RefUnwindSafe for WindowsPipeServerBuilder<T>
impl<T> Send for WindowsPipeServerBuilder<T>where
T: Send,
impl<T> Sync for WindowsPipeServerBuilder<T>where
T: Sync,
impl<T> Unpin for WindowsPipeServerBuilder<T>where
T: Unpin,
impl<T> !UnwindSafe for WindowsPipeServerBuilder<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