pub struct StreamOffer {
pub mode: StreamMode,
pub handler: StreamHandler,
}Expand description
A streaming procedure’s mode and handler. The advertisement is the one a unary procedure sends, which names no mode: a STREAM_OPEN of another mode is refused mode_mismatch.
Fields§
§mode: StreamMode§handler: StreamHandlerTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StreamOffer
impl !UnwindSafe for StreamOffer
impl Freeze for StreamOffer
impl Send for StreamOffer
impl Sync for StreamOffer
impl Unpin for StreamOffer
impl UnsafeUnpin for StreamOffer
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