pub enum Lossy {}Expand description
A failure policy that allows messages to be lost.
Trait Implementations§
Source§impl EmbeddedFailPolicy for Lossy
impl EmbeddedFailPolicy for Lossy
Source§type Ordering<O: Ordering> = O
type Ordering<O: Ordering> = O
The ordering of the received stream when the channel declares ordering
O.Source§type ConsistencyGuarantee = NoConsistency
type ConsistencyGuarantee = NoConsistency
The consistency guarantee this failure policy can preserve for replicated outputs
(see
NetworkFor::ConsistencyGuarantee).Source§fn embedded_fault() -> EmbeddedFault
fn embedded_fault() -> EmbeddedFault
Returns the
EmbeddedFault variant for this failure policy.Source§impl TcpFailPolicy for Lossy
impl TcpFailPolicy for Lossy
Source§type OrderingGuarantee = TotalOrder
type OrderingGuarantee = TotalOrder
The ordering guarantee provided by this failure policy.
Source§type ConsistencyGuarantee = NoConsistency
type ConsistencyGuarantee = NoConsistency
The consistency guarantee this failure policy can preserve for replicated outputs
(see
NetworkFor::ConsistencyGuarantee).Source§impl UdpFailPolicy for Lossy
impl UdpFailPolicy for Lossy
Source§type ConsistencyGuarantee = NoConsistency
type ConsistencyGuarantee = NoConsistency
The consistency guarantee this failure policy can preserve for replicated outputs
(see
NetworkFor::ConsistencyGuarantee).Auto Trait Implementations§
impl Freeze for Lossy
impl RefUnwindSafe for Lossy
impl Send for Lossy
impl Sync for Lossy
impl Unpin for Lossy
impl UnsafeUnpin for Lossy
impl UnwindSafe for Lossy
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 moreCreates a shared type from an unshared type.