pub struct Lifecycle { /* private fields */ }Implementations§
Source§impl Lifecycle
impl Lifecycle
pub const fn new() -> Self
pub const fn status(self) -> SessionStatus
pub const fn input_generation(self) -> u64
pub const fn transport_open(self) -> bool
pub fn transition( &mut self, event: LifecycleEvent, ) -> Result<SessionStatus, SdkError>
Trait Implementations§
impl Copy for Lifecycle
impl Eq for Lifecycle
impl StructuralPartialEq for Lifecycle
Auto Trait Implementations§
impl Freeze for Lifecycle
impl RefUnwindSafe for Lifecycle
impl Send for Lifecycle
impl Sync for Lifecycle
impl Unpin for Lifecycle
impl UnsafeUnpin for Lifecycle
impl UnwindSafe for Lifecycle
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