pub struct TestCommandParams {
pub test_pattern: Vec<u8>,
}
Expand description
The Test Command is used to test the connection between two entities in a Session. The command can be arbitrarily sized, and contains a pattern that must be echoed back. See 7.10 Section GSM 5.4.6.3.4.
Fields§
§test_pattern: Vec<u8>
Trait Implementations§
Source§impl Clone for TestCommandParams
impl Clone for TestCommandParams
Source§fn clone(&self) -> TestCommandParams
fn clone(&self) -> TestCommandParams
Returns a copy 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 TestCommandParams
impl Debug for TestCommandParams
Source§impl Decodable for TestCommandParams
impl Decodable for TestCommandParams
type Error = FrameParseError
Source§impl Encodable for TestCommandParams
impl Encodable for TestCommandParams
type Error = FrameParseError
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the number of bytes necessary to encode |self|.
Source§impl PartialEq for TestCommandParams
impl PartialEq for TestCommandParams
impl StructuralPartialEq for TestCommandParams
Auto Trait Implementations§
impl Freeze for TestCommandParams
impl RefUnwindSafe for TestCommandParams
impl Send for TestCommandParams
impl Sync for TestCommandParams
impl Unpin for TestCommandParams
impl UnwindSafe for TestCommandParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)