#[non_exhaustive]pub struct ClaimPresentRequest {
pub claim: Claim,
/* private fields */
}Expand description
The first frame after a new connection’s handshake. Acceptance consumes the claim and binds the connection atomically while rechecking the live spawn. Any refused presentation closes the connection, including a retryable refusal; it never continues as direct.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.claim: ClaimImplementations§
Source§impl ClaimPresentRequest
impl ClaimPresentRequest
pub fn new(claim: Claim) -> ClaimPresentRequest
Trait Implementations§
Source§impl Clone for ClaimPresentRequest
impl Clone for ClaimPresentRequest
Source§fn clone(&self) -> ClaimPresentRequest
fn clone(&self) -> ClaimPresentRequest
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 ClaimPresentRequest
impl Debug for ClaimPresentRequest
Source§impl<'de> Deserialize<'de> for ClaimPresentRequest
impl<'de> Deserialize<'de> for ClaimPresentRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClaimPresentRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClaimPresentRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ClaimPresentRequest
Source§impl PartialEq for ClaimPresentRequest
impl PartialEq for ClaimPresentRequest
Source§impl Serialize for ClaimPresentRequest
impl Serialize for ClaimPresentRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ClaimPresentRequest
Auto Trait Implementations§
impl Forget for ClaimPresentRequest
impl Freeze for ClaimPresentRequest
impl Move for ClaimPresentRequest
impl RefUnwindSafe for ClaimPresentRequest
impl Send for ClaimPresentRequest
impl Sync for ClaimPresentRequest
impl Unpin for ClaimPresentRequest
impl UnsafeUnpin for ClaimPresentRequest
impl UnwindSafe for ClaimPresentRequest
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