Struct aws_smithy_eventstream::arbitrary::ArbStrBytes
source · pub struct ArbStrBytes(/* private fields */);
Available on crate feature
derive-arbitrary
only.Trait Implementations§
source§impl<'a> Arbitrary<'a> for ArbStrBytes
impl<'a> Arbitrary<'a> for ArbStrBytes
source§fn arbitrary(unstruct: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(unstruct: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read more§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ArbStrBytes
impl Clone for ArbStrBytes
source§fn clone(&self) -> ArbStrBytes
fn clone(&self) -> ArbStrBytes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ArbStrBytes
impl Debug for ArbStrBytes
source§impl From<ArbStrBytes> for StrBytes
impl From<ArbStrBytes> for StrBytes
source§fn from(str_bytes: ArbStrBytes) -> Self
fn from(str_bytes: ArbStrBytes) -> Self
Converts to this type from the input type.
source§impl PartialEq for ArbStrBytes
impl PartialEq for ArbStrBytes
source§fn eq(&self, other: &ArbStrBytes) -> bool
fn eq(&self, other: &ArbStrBytes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ArbStrBytes
impl StructuralPartialEq for ArbStrBytes
Auto Trait Implementations§
impl !Freeze for ArbStrBytes
impl RefUnwindSafe for ArbStrBytes
impl Send for ArbStrBytes
impl Sync for ArbStrBytes
impl Unpin for ArbStrBytes
impl UnwindSafe for ArbStrBytes
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more