pub struct RequestHeader {
pub request_id: u32,
pub response_flags: u8,
pub target: TargetAddress,
pub operation: String,
pub service_context: Vec<ServiceContext>,
pub requesting_principal: Vec<u8>,
}Expand description
The header of a Request message, in its GIOP 1.2 shape.
GIOP 1.0/1.1 requests are mapped onto it: response_expected becomes
response_flags::SYNC_WITH_TARGET or response_flags::NONE, and the
object key becomes TargetAddress::Key.
Fields§
§request_id: u32Request id, unique per connection and direction.
response_flags: u8See response_flags.
target: TargetAddressThe target object.
operation: StringOperation name, or _get_x/_set_x for attributes.
service_context: Vec<ServiceContext>Service contexts.
requesting_principal: Vec<u8>requesting_principal, only sent by GIOP 1.0 and 1.1 and usually
empty.
Implementations§
Source§impl RequestHeader
impl RequestHeader
Sourcepub fn response_expected(&self) -> bool
pub fn response_expected(&self) -> bool
Whether the client waits for a reply.
Trait Implementations§
Source§impl Clone for RequestHeader
impl Clone for RequestHeader
Source§impl Debug for RequestHeader
impl Debug for RequestHeader
impl Eq for RequestHeader
Source§impl PartialEq for RequestHeader
impl PartialEq for RequestHeader
impl StructuralPartialEq for RequestHeader
Auto Trait Implementations§
impl Forget for RequestHeader
impl Freeze for RequestHeader
impl RefUnwindSafe for RequestHeader
impl Send for RequestHeader
impl Sync for RequestHeader
impl Unpin for RequestHeader
impl UnsafeUnpin for RequestHeader
impl UnwindSafe for RequestHeader
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