pub struct StateGoAway { /* private fields */ }Implementations§
Source§impl StateGoAway
impl StateGoAway
pub fn new() -> Self
pub fn poll_handle<T>( &mut self, cx: &mut Context<'_>, codec: &mut Codec<T>, ) -> Poll<Option<ProtResult<Reason>>>
pub fn go_away_now(&mut self, frame: GoAway)
pub fn is_close_now(&self) -> bool
pub fn reason(&self) -> &Reason
Auto Trait Implementations§
impl !RefUnwindSafe for StateGoAway
impl !UnwindSafe for StateGoAway
impl Freeze for StateGoAway
impl Send for StateGoAway
impl Sync for StateGoAway
impl Unpin for StateGoAway
impl UnsafeUnpin for StateGoAway
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