[−][src]Struct interledger::packet::Prepare
Methods
impl Prepare
[src]
pub fn amount(&self) -> u64
[src]
pub fn set_amount(&mut self, amount: u64)
[src]
pub fn expires_at(&self) -> SystemTime
[src]
pub fn set_expires_at(&mut self, expires_at: SystemTime)
[src]
pub fn execution_condition(&self) -> &[u8]
[src]
The returned value always has a length of 32.
pub fn destination(&self) -> Address
[src]
pub fn data(&self) -> &[u8]
[src]
pub fn into_data(self) -> BytesMut
[src]
Trait Implementations
impl PartialEq<Prepare> for Prepare
[src]
impl AsRef<[u8]> for Prepare
[src]
impl StructuralPartialEq for Prepare
[src]
impl From<Prepare> for Packet
[src]
impl Clone for Prepare
[src]
impl Debug for Prepare
[src]
impl TryFrom<BytesMut> for Prepare
[src]
type Error = ParseError
The type returned in the event of a conversion error.
fn try_from(
buffer: BytesMut
) -> Result<Prepare, <Prepare as TryFrom<BytesMut>>::Error>
[src]
buffer: BytesMut
) -> Result<Prepare, <Prepare as TryFrom<BytesMut>>::Error>
impl From<IldcpRequest> for Prepare
[src]
fn from(request: IldcpRequest) -> Prepare
[src]
impl<'_> TryFrom<&'_ Prepare> for RouteControlRequest
[src]
type Error = ParseError
The type returned in the event of a conversion error.
fn try_from(
prepare: &Prepare
) -> Result<RouteControlRequest, <RouteControlRequest as TryFrom<&'_ Prepare>>::Error>
[src]
prepare: &Prepare
) -> Result<RouteControlRequest, <RouteControlRequest as TryFrom<&'_ Prepare>>::Error>
Auto Trait Implementations
impl Send for Prepare
impl Sync for Prepare
impl Unpin for Prepare
impl UnwindSafe for Prepare
impl RefUnwindSafe for Prepare
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> ToHex for T where
T: AsRef<[u8]>,
T: AsRef<[u8]>,
fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
U: FromIterator<char>,
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,