#[non_exhaustive]pub enum BindingType {
NObject,
NContext,
Reserved(u8),
}Expand description
Binding type — TR 101 202 §4.7.4.1, Table 4.9
(docs/iso_13818_6_biop.md, p. 55–56).
Indicates whether a BIOP binding names a non-directory/gateway object
(nobject) or a directory or service gateway (ncontext).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NObject
0x01 — name bound to a non-Directory/ServiceGateway object (nobject).
NContext
0x02 — name bound to a Directory or ServiceGateway (ncontext).
Reserved(u8)
Reserved/unallocated wire value, preserved verbatim for round-trip.
Implementations§
Source§impl BindingType
impl BindingType
Trait Implementations§
Source§impl Clone for BindingType
impl Clone for BindingType
Source§fn clone(&self) -> BindingType
fn clone(&self) -> BindingType
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 moreimpl Copy for BindingType
Source§impl Debug for BindingType
impl Debug for BindingType
Source§impl Display for BindingType
impl Display for BindingType
impl Eq for BindingType
Source§impl PartialEq for BindingType
impl PartialEq for BindingType
Source§fn eq(&self, other: &BindingType) -> bool
fn eq(&self, other: &BindingType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BindingType
impl Serialize for BindingType
impl StructuralPartialEq for BindingType
Auto Trait Implementations§
impl Freeze for BindingType
impl RefUnwindSafe for BindingType
impl Send for BindingType
impl Sync for BindingType
impl Unpin for BindingType
impl UnsafeUnpin for BindingType
impl UnwindSafe for BindingType
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