pub struct CloseBuilder { /* private fields */ }Expand description
Builder for Close.
Implementations§
Source§impl CloseBuilder
impl CloseBuilder
Sourcepub fn handle<VALUE: Into<StreamHandle>>(&mut self, value: VALUE) -> &mut Self
pub fn handle<VALUE: Into<StreamHandle>>(&mut self, value: VALUE) -> &mut Self
Handle of the stream to close.
Trait Implementations§
Source§impl Clone for CloseBuilder
impl Clone for CloseBuilder
Source§fn clone(&self) -> CloseBuilder
fn clone(&self) -> CloseBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CloseBuilder
impl RefUnwindSafe for CloseBuilder
impl Send for CloseBuilder
impl Sync for CloseBuilder
impl Unpin for CloseBuilder
impl UnsafeUnpin for CloseBuilder
impl UnwindSafe for CloseBuilder
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