pub enum GetVariableStatus {
Error(Status),
BufferTooSmall {
data_size: usize,
attributes: u32,
},
Success {
data_size: usize,
attributes: u32,
},
}Expand description
Status information returned by RuntimeServices::get_variable_unchecked
Variants§
Error(Status)
The variable was unable to be retrieved
BufferTooSmall
The variable was found, but the buffer provided wasn’t large enough
Fields
Success
The variable was successfully retrieved
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetVariableStatus
impl RefUnwindSafe for GetVariableStatus
impl Send for GetVariableStatus
impl Sync for GetVariableStatus
impl Unpin for GetVariableStatus
impl UnwindSafe for GetVariableStatus
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