Skip to content

Commit 8916920

Browse files
committed
Move context out of state submodule
1 parent 3fc4d4b commit 8916920

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

crates/hotfix/src/session.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
pub(crate) mod admin_request;
2+
mod ctx;
23
pub mod error;
34
pub(crate) mod event;
45
mod info;

crates/hotfix/src/session/state.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ mod active;
22
mod awaiting_logon;
33
mod awaiting_logout;
44
mod awaiting_resend;
5-
mod ctx;
65
mod disconnected;
76

7+
pub(crate) use crate::session::ctx::{SessionCtx, TransitionResult, VerifyResult};
88
pub(crate) use active::{ActiveState, calculate_peer_interval};
99
pub(crate) use awaiting_logon::AwaitingLogonState;
1010
pub(crate) use awaiting_logout::AwaitingLogoutState;
1111
pub(crate) use awaiting_resend::AwaitingResendState;
12-
pub(crate) use ctx::{SessionCtx, TransitionResult, VerifyResult};
1312
pub(crate) use disconnected::DisconnectedState;
1413

1514
use crate::session::event::AwaitingActiveSessionResponse;

0 commit comments

Comments
 (0)