#[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§
Trait Implementations§
Source§impl Clone for ClaimPresentRequest
impl Clone for ClaimPresentRequest
Source§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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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
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