pub struct TransferCapability {
pub mode: TransferMode,
pub stages: Vec<TransferStage>,
pub reason: Option<String>,
}Expand description
Runtime support and the cost/stages of a proposed transfer.
Fields§
§mode: TransferMode§stages: Vec<TransferStage>§reason: Option<String>Implementations§
Source§impl TransferCapability
impl TransferCapability
pub fn is_supported(&self) -> bool
Trait Implementations§
Source§impl Clone for TransferCapability
impl Clone for TransferCapability
Source§impl Debug for TransferCapability
impl Debug for TransferCapability
impl Eq for TransferCapability
Source§impl PartialEq for TransferCapability
impl PartialEq for TransferCapability
impl StructuralPartialEq for TransferCapability
Auto Trait Implementations§
impl Forget for TransferCapability
impl Freeze for TransferCapability
impl Move for TransferCapability
impl RefUnwindSafe for TransferCapability
impl Send for TransferCapabilitywhere
RawVecInner: Send,
impl Sync for TransferCapabilitywhere
RawVecInner: Sync,
impl Unpin for TransferCapability
impl UnsafeUnpin for TransferCapabilitywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<TransferStage>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for TransferCapabilitywhere
RawVecInner: UnwindSafe,
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