pub enum StreamFraming {
Declared(u64),
ExecutorOwned,
}Expand description
Wire framing responsibility.
Variants§
Declared(u64)
The exact stream length is known before execution.
ExecutorOwned
The executor owns framing for an explicitly unknown-length stream.
Trait Implementations§
Source§impl Clone for StreamFraming
impl Clone for StreamFraming
Source§fn clone(&self) -> StreamFraming
fn clone(&self) -> StreamFraming
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamFraming
Source§impl Debug for StreamFraming
impl Debug for StreamFraming
impl Eq for StreamFraming
Source§impl Hash for StreamFraming
impl Hash for StreamFraming
Source§impl Ord for StreamFraming
impl Ord for StreamFraming
Source§fn cmp(&self, other: &StreamFraming) -> Ordering
fn cmp(&self, other: &StreamFraming) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StreamFraming
impl PartialEq for StreamFraming
Source§impl PartialOrd for StreamFraming
impl PartialOrd for StreamFraming
impl StructuralPartialEq for StreamFraming
Auto Trait Implementations§
impl Freeze for StreamFraming
impl RefUnwindSafe for StreamFraming
impl Send for StreamFraming
impl Sync for StreamFraming
impl Unpin for StreamFraming
impl UnsafeUnpin for StreamFraming
impl UnwindSafe for StreamFraming
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