Enum fake_netstack::StreamSocketState
source · pub(crate) enum StreamSocketState {
Created,
Bound(SocketAddress),
Listening {
addr: SocketAddress,
accept_queue: VecDeque<(SocketAddress, ClientEnd<StreamSocketMarker>)>,
},
Connected {
local: SocketAddress,
_remote: SocketAddress,
data_task: Option<Task<()>>,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StreamSocketState
impl Send for StreamSocketState
impl Sync for StreamSocketState
impl Unpin for StreamSocketState
impl !UnwindSafe for StreamSocketState
Blanket Implementations§
§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.