Enum connection_utils::test::TestStreamMessage
source · [−]Expand description
A test message for framed stream testing purposes.
Variants
Ping(String)
Pong(Option<String>, String)
Data(Vec<u8>)
Eof
Trait Implementations
sourceimpl Clone for TestStreamMessage
impl Clone for TestStreamMessage
sourcefn clone(&self) -> TestStreamMessage
fn clone(&self) -> TestStreamMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TestStreamMessage
impl Debug for TestStreamMessage
sourceimpl<'de> Deserialize<'de> for TestStreamMessage
impl<'de> Deserialize<'de> for TestStreamMessage
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<TestStreamMessage> for TestStreamMessage
impl PartialEq<TestStreamMessage> for TestStreamMessage
sourcefn eq(&self, other: &TestStreamMessage) -> bool
fn eq(&self, other: &TestStreamMessage) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Random for TestStreamMessage
impl Random for TestStreamMessage
fn random() -> TestStreamMessage
sourceimpl Serialize for TestStreamMessage
impl Serialize for TestStreamMessage
impl StructuralPartialEq for TestStreamMessage
Auto Trait Implementations
impl RefUnwindSafe for TestStreamMessage
impl Send for TestStreamMessage
impl Sync for TestStreamMessage
impl Unpin for TestStreamMessage
impl UnwindSafe for TestStreamMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more