pub enum LocalListener {
Unix(UnixListener, PathBuf),
}Variants§
Unix(UnixListener, PathBuf)
Implementations§
Source§impl LocalListener
impl LocalListener
pub async fn accept(self) -> Result<LocalStream>
pub fn endpoint(&self) -> String
pub fn transport_kind(&self) -> i32
pub fn open_stream_response( &self, request: &OpenStreamRequest, ) -> OpenStreamResponse
Auto Trait Implementations§
impl !Freeze for LocalListener
impl RefUnwindSafe for LocalListener
impl Send for LocalListener
impl Sync for LocalListener
impl Unpin for LocalListener
impl UnsafeUnpin for LocalListener
impl UnwindSafe for LocalListener
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