pub enum StreamMode {
ServerStream,
ClientStream,
Bidi,
}Expand description
Who pushes data on a stream: the provider (ServerStream), the caller (ClientStream), or both (Bidi).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StreamMode
impl Clone for StreamMode
impl Copy for StreamMode
Source§impl Debug for StreamMode
impl Debug for StreamMode
impl Eq for StreamMode
Source§impl PartialEq for StreamMode
impl PartialEq for StreamMode
impl StructuralPartialEq for StreamMode
Auto Trait Implementations§
impl Freeze for StreamMode
impl RefUnwindSafe for StreamMode
impl Send for StreamMode
impl Sync for StreamMode
impl Unpin for StreamMode
impl UnsafeUnpin for StreamMode
impl UnwindSafe for StreamMode
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