pub struct ActivateSession {
pub auth_type: AuthType,
pub maxiumum_privilege_level: PrivilegeLevel,
pub challenge_string: [u8; 16],
pub initial_sequence_number: u32,
}Fields§
§auth_type: AuthType§maxiumum_privilege_level: PrivilegeLevel§challenge_string: [u8; 16]§initial_sequence_number: u32Trait Implementations§
Source§impl Clone for ActivateSession
impl Clone for ActivateSession
Source§fn clone(&self) -> ActivateSession
fn clone(&self) -> ActivateSession
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 moreSource§impl Debug for ActivateSession
impl Debug for ActivateSession
Source§impl From<ActivateSession> for Message
impl From<ActivateSession> for Message
Source§fn from(value: ActivateSession) -> Message
fn from(value: ActivateSession) -> Message
Converts to this type from the input type.
Source§impl IpmiCommand for ActivateSession
impl IpmiCommand for ActivateSession
Source§type Output = BeginSessionInfo
type Output = BeginSessionInfo
The output of this command, i.e. the expected response type.
Source§type Error = AuthError
type Error = AuthError
The type of error that can occur while parsing the response for this
command.
Source§fn parse_success_response(
data: &[u8],
) -> Result<<ActivateSession as IpmiCommand>::Output, <ActivateSession as IpmiCommand>::Error>
fn parse_success_response( data: &[u8], ) -> Result<<ActivateSession as IpmiCommand>::Output, <ActivateSession as IpmiCommand>::Error>
Try to parse the expected response for this command from the
provided
data, assuming a successful completion code.Source§fn handle_completion_code(
completion_code: CompletionErrorCode,
data: &[u8],
) -> Option<Self::Error>
fn handle_completion_code( completion_code: CompletionErrorCode, data: &[u8], ) -> Option<Self::Error>
Handle the provided completion code
completion_code and optionally provide
a special error in case of failure. Read moreAuto Trait Implementations§
impl Freeze for ActivateSession
impl RefUnwindSafe for ActivateSession
impl Send for ActivateSession
impl Sync for ActivateSession
impl Unpin for ActivateSession
impl UnwindSafe for ActivateSession
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