pub struct GetChannelAuthenticationCapabilities { /* private fields */ }Implementations§
Source§impl GetChannelAuthenticationCapabilities
impl GetChannelAuthenticationCapabilities
pub fn new( channel_number: Channel, privilege_level: PrivilegeLevel, ) -> GetChannelAuthenticationCapabilities
Trait Implementations§
Source§impl Clone for GetChannelAuthenticationCapabilities
impl Clone for GetChannelAuthenticationCapabilities
Source§fn clone(&self) -> GetChannelAuthenticationCapabilities
fn clone(&self) -> GetChannelAuthenticationCapabilities
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 From<GetChannelAuthenticationCapabilities> for Message
impl From<GetChannelAuthenticationCapabilities> for Message
Source§fn from(value: GetChannelAuthenticationCapabilities) -> Message
fn from(value: GetChannelAuthenticationCapabilities) -> Message
Converts to this type from the input type.
Source§impl IpmiCommand for GetChannelAuthenticationCapabilities
impl IpmiCommand for GetChannelAuthenticationCapabilities
Source§type Output = ChannelAuthenticationCapabilities
type Output = ChannelAuthenticationCapabilities
The output of this command, i.e. the expected response type.
Source§type Error = NotEnoughData
type Error = NotEnoughData
The type of error that can occur while parsing the response for this
command.
Source§fn parse_success_response(
data: &[u8],
) -> Result<<GetChannelAuthenticationCapabilities as IpmiCommand>::Output, <GetChannelAuthenticationCapabilities as IpmiCommand>::Error>
fn parse_success_response( data: &[u8], ) -> Result<<GetChannelAuthenticationCapabilities as IpmiCommand>::Output, <GetChannelAuthenticationCapabilities 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 GetChannelAuthenticationCapabilities
impl RefUnwindSafe for GetChannelAuthenticationCapabilities
impl Send for GetChannelAuthenticationCapabilities
impl Sync for GetChannelAuthenticationCapabilities
impl Unpin for GetChannelAuthenticationCapabilities
impl UnwindSafe for GetChannelAuthenticationCapabilities
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