[−][src]Struct uds_windows::AcceptAddrsBuf
A buffer in which an accepted socket's address will be stored
This type is used with the accept_overlapped
method on the
UnixListenerExt
trait to provide space for the overlapped I/O operation to
fill in the socket addresses upon completion.
Implementations
impl AcceptAddrsBuf
[src]
pub fn new() -> AcceptAddrsBuf
[src]
Creates a new blank buffer ready to be passed to a call to
accept_overlapped
.
pub fn parse(&self, socket: &UnixListener) -> Result<AcceptAddrs>
[src]
Parses the data contained in this address buffer, returning the parsed result if successful.
This function can be called after a call to accept_overlapped
has
succeeded to parse out the data that was written in.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AcceptAddrsBuf
impl Send for AcceptAddrsBuf
impl Sync for AcceptAddrsBuf
impl Unpin for AcceptAddrsBuf
impl UnwindSafe for AcceptAddrsBuf
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,