pub struct RemotingSpec {
pub code: RemotingResponseCode,
}Expand description
Represents remoting spec.
Fields§
§code: RemotingResponseCodeThe code value.
Implementations§
Source§impl RemotingSpec
impl RemotingSpec
Sourcepub const fn new(code: RemotingResponseCode) -> Self
pub const fn new(code: RemotingResponseCode) -> Self
Creates a new RemotingSpec.
Trait Implementations§
Source§impl Clone for RemotingSpec
impl Clone for RemotingSpec
impl Copy for RemotingSpec
Source§impl Debug for RemotingSpec
impl Debug for RemotingSpec
impl Eq for RemotingSpec
Source§impl Hash for RemotingSpec
impl Hash for RemotingSpec
Source§impl Ord for RemotingSpec
impl Ord for RemotingSpec
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RemotingSpec
impl PartialEq for RemotingSpec
Source§impl PartialOrd for RemotingSpec
impl PartialOrd for RemotingSpec
impl StructuralPartialEq for RemotingSpec
Auto Trait Implementations§
impl Freeze for RemotingSpec
impl RefUnwindSafe for RemotingSpec
impl Send for RemotingSpec
impl Sync for RemotingSpec
impl Unpin for RemotingSpec
impl UnsafeUnpin for RemotingSpec
impl UnwindSafe for RemotingSpec
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