pub struct TestRequest(/* private fields */);Expand description
The TestRequest (35=1) message.
Implementations§
Source§impl TestRequest
impl TestRequest
pub const MSG_TYPE: &[u8] = b"1"
pub const KNOWN_TAGS: KnownTags<'static>
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn test_req_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn test_req_id(&self) -> Result<Option<&str>, InvalidValue>
The TestReqID (112) field.
Trait Implementations§
Source§impl Debug for TestRequest
impl Debug for TestRequest
Auto Trait Implementations§
impl !Freeze for TestRequest
impl Forget for TestRequest
impl Move for TestRequest
impl RefUnwindSafe for TestRequest
impl Send for TestRequest
impl Sync for TestRequest
impl Unpin for TestRequest
impl UnsafeUnpin for TestRequest
impl UnwindSafe for TestRequest
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