pub struct ResponseFlags(pub u8);Expand description
response_flags-Octet (Spec §15.4.2.2).
Bits encodieren das Messaging::SyncScope-Modell aus CORBA-
Messaging (Spec §22.2.5):
SYNC_NONE = 0x00— fire-and-forget.SYNC_WITH_TRANSPORT = 0x01— Reply nach Transport-Buffer-Send.SYNC_WITH_SERVER = 0x02— Reply nach Server-Receive.SYNC_WITH_TARGET = 0x03— Reply nach Servant-Invocation (klassisches synchrones Verhalten).
Tuple Fields§
§0: u8Implementations§
Source§impl ResponseFlags
impl ResponseFlags
Sourcepub const SYNC_WITH_TRANSPORT: Self
pub const SYNC_WITH_TRANSPORT: Self
SYNC_WITH_TRANSPORT.
Sourcepub const SYNC_WITH_SERVER: Self
pub const SYNC_WITH_SERVER: Self
SYNC_WITH_SERVER.
Sourcepub const SYNC_WITH_TARGET: Self
pub const SYNC_WITH_TARGET: Self
SYNC_WITH_TARGET — Default fuer synchrone GIOP-1.0/1.1-
Requests (response_expected = true).
Sourcepub const fn response_expected(self) -> bool
pub const fn response_expected(self) -> bool
true wenn der Caller einen Reply erwartet (SyncScope >= SYNC_WITH_SERVER, Spec §22.2.5).
Sourcepub const fn from_response_expected(response_expected: bool) -> Self
pub const fn from_response_expected(response_expected: bool) -> Self
Konvertiert von GIOP-1.0/1.1-Boolean zu Flags-Octet.
Trait Implementations§
Source§impl Clone for ResponseFlags
impl Clone for ResponseFlags
Source§fn clone(&self) -> ResponseFlags
fn clone(&self) -> ResponseFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResponseFlags
impl Debug for ResponseFlags
Source§impl Default for ResponseFlags
impl Default for ResponseFlags
Source§fn default() -> ResponseFlags
fn default() -> ResponseFlags
Returns the “default value” for a type. Read more
Source§impl Hash for ResponseFlags
impl Hash for ResponseFlags
Source§impl PartialEq for ResponseFlags
impl PartialEq for ResponseFlags
Source§fn eq(&self, other: &ResponseFlags) -> bool
fn eq(&self, other: &ResponseFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ResponseFlags
impl Eq for ResponseFlags
impl StructuralPartialEq for ResponseFlags
Auto Trait Implementations§
impl Freeze for ResponseFlags
impl RefUnwindSafe for ResponseFlags
impl Send for ResponseFlags
impl Sync for ResponseFlags
impl Unpin for ResponseFlags
impl UnsafeUnpin for ResponseFlags
impl UnwindSafe for ResponseFlags
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