#[repr(C)]pub enum Settlement {
Show 14 variants
AnnounceNow(Result<(), AnnounceNowFailure>),
SendSinglePacket(Result<PacketReceiptDelivered, SendSinglePacketFailure>),
SendGroup(Result<(), SendGroupFailure>),
RequestPath(Result<PathFound, RequestPathFailure>),
EstablishLink(Result<LinkEstablished, EstablishLinkFailure>),
SendToLink(Result<PacketReceiptDelivered, SendToLinkFailure>),
Identify(Result<(), IdentifyFailure>),
SendRequest(Result<PacketReceiptDelivered, SendRequestFailure>),
Respond(Result<(), RespondFailure>),
CloseLink(Result<(), CloseLinkFailure>),
SendResource(Result<(), SendResourceFailure>),
SetResourceStrategy(Result<(), SetResourceStrategyFailure>),
SendToChannel(Result<PacketReceiptDelivered, SendToChannelFailure>),
AllowRequester(Result<(), AllowRequesterFailure>),
}Expand description
Paired verb-for-verb with PrnsCommand: a data boundary erases type-level ties, so the tie is explicit here.
Variants§
AnnounceNow(Result<(), AnnounceNowFailure>)
SendSinglePacket(Result<PacketReceiptDelivered, SendSinglePacketFailure>)
SendGroup(Result<(), SendGroupFailure>)
RequestPath(Result<PathFound, RequestPathFailure>)
EstablishLink(Result<LinkEstablished, EstablishLinkFailure>)
SendToLink(Result<PacketReceiptDelivered, SendToLinkFailure>)
Identify(Result<(), IdentifyFailure>)
SendRequest(Result<PacketReceiptDelivered, SendRequestFailure>)
Respond(Result<(), RespondFailure>)
CloseLink(Result<(), CloseLinkFailure>)
SendResource(Result<(), SendResourceFailure>)
SetResourceStrategy(Result<(), SetResourceStrategyFailure>)
SendToChannel(Result<PacketReceiptDelivered, SendToChannelFailure>)
AllowRequester(Result<(), AllowRequesterFailure>)
Trait Implementations§
Source§impl Clone for Settlement
impl Clone for Settlement
Source§fn clone(&self) -> Settlement
fn clone(&self) -> Settlement
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 Settlement
impl Debug for Settlement
impl Eq for Settlement
Source§impl PartialEq for Settlement
impl PartialEq for Settlement
impl StructuralPartialEq for Settlement
Auto Trait Implementations§
impl Freeze for Settlement
impl RefUnwindSafe for Settlement
impl Send for Settlement
impl Sync for Settlement
impl Unpin for Settlement
impl UnsafeUnpin for Settlement
impl UnwindSafe for Settlement
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