pub struct StateSettings { /* private fields */ }Implementations§
Source§impl StateSettings
impl StateSettings
pub fn new(settings: Settings) -> Self
pub fn set_settings(&mut self, setting: Settings, is_done: bool)
pub fn set_settings_done(&mut self)
pub fn poll_handle<T>( &mut self, cx: &mut Context<'_>, codec: &mut Codec<T>, config: &mut ControlConfig, ) -> Poll<ProtResult<bool>>
pub fn recv_setting<T>( &mut self, codec: &mut Codec<T>, setting: Settings, config: &mut ControlConfig, ) -> ProtResult<bool>
pub fn send_settings(&mut self, setting: Settings) -> ProtResult<()>
Auto Trait Implementations§
impl Freeze for StateSettings
impl RefUnwindSafe for StateSettings
impl Send for StateSettings
impl Sync for StateSettings
impl Unpin for StateSettings
impl UnsafeUnpin for StateSettings
impl UnwindSafe for StateSettings
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